1#
2# Licensed to the Apache Software Foundation (ASF) under one
3# or more contributor license agreements. See the NOTICE file
4# distributed with this work for additional information
5# regarding copyright ownership. The ASF licenses this file
6# to you under the Apache License, Version 2.0 (the
7# "License"); you may not use this file except in compliance
8# with the License. You may obtain a copy of the License at
9#
10#   http://www.apache.org/licenses/LICENSE-2.0
11#
12# Unless required by applicable law or agreed to in writing,
13# software distributed under the License is distributed on an
14# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15# KIND, either express or implied. See the License for the
16# specific language governing permissions and limitations
17# under the License.
18#
19
20SUBDIRS = .
21
22all-local:
23	$(DOTNETCORE) build -c Release
24
25check-local:
26	$(DOTNETCORE) test Tests/Thrift.PublicInterfaces.Compile.Tests/Thrift.PublicInterfaces.Compile.Tests.csproj
27	$(DOTNETCORE) test Tests/Thrift.Tests/Thrift.Tests.csproj
28	$(DOTNETCORE) test Tests/Thrift.IntegrationTests/Thrift.IntegrationTests.csproj
29
30clean-local:
31	$(RM) -r Thrift/bin
32	$(RM) -r Thrift/obj
33	$(RM) -r Benchmarks/Thrift.Benchmarks/bin
34	$(RM) -r Benchmarks/Thrift.Benchmarks/obj
35	$(RM) -r Tests/Thrift.Tests/bin
36	$(RM) -r Tests/Thrift.Tests/obj
37	$(RM) -r Tests/Thrift.IntegrationTests/bin
38	$(RM) -r Tests/Thrift.IntegrationTests/obj
39	$(RM) -r Tests/Thrift.PublicInterfaces.Compile.Tests/bin
40	$(RM) -r Tests/Thrift.PublicInterfaces.Compile.Tests/obj
41
42EXTRA_DIST = \
43	README.md \
44	Directory.Build.props \
45	Benchmarks/Thrift.Benchmarks \
46	Tests/Thrift.IntegrationTests/Protocols \
47	Tests/Thrift.IntegrationTests/Thrift.IntegrationTests.csproj \
48	Tests/Thrift.PublicInterfaces.Compile.Tests \
49	Tests/Thrift.PublicInterfaces.Compile.Tests/CassandraTest.thrift \
50	Tests/Thrift.PublicInterfaces.Compile.Tests/optional_required_default.thrift \
51	Tests/Thrift.PublicInterfaces.Compile.Tests/Properties/AssemblyInfo.cs \
52	Tests/Thrift.PublicInterfaces.Compile.Tests/Thrift.PublicInterfaces.Compile.Tests.csproj \
53	Tests/Thrift.Tests/Collections \
54	Tests/Thrift.Tests/DataModel \
55	Tests/Thrift.Tests/Protocols \
56	Tests/Thrift.Tests/Transports \
57	Tests/Thrift.Tests/Thrift.Tests.csproj \
58	Thrift/.editorconfig \
59	Thrift/Collections \
60	Thrift/Processor \
61	Thrift/Properties \
62	Thrift/Protocol \
63	Thrift/Server \
64	Thrift/GlobalSuppressions.cs \
65	Thrift/TApplicationException.cs \
66	Thrift/TBaseClient.cs \
67	Thrift/TConfiguration.cs \
68	Thrift/TException.cs \
69	Thrift/Thrift.csproj \
70	Thrift/Transport \
71	Thrift/*.snk \
72	Thrift.sln \
73	build.cmd \
74	build.sh \
75	runtests.cmd \
76	runtests.sh
77
78