blob: 0b3c3befc774edfc3eea239521e24a2ff9ed9da4 [file] [log] [blame]
James E. King IIIb1d63e72019-01-22 14:16:39 -05001#
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
20all-local:
21 ./gradlew $(GRADLE_OPTS) compile \
22 -Prelease=true \
23 --console=plain
24
25install-exec-hook:
26 ./gradlew $(GRADLE_OPTS) publishToMavenLocal \
27 -Prelease=true \
28 --console=plain
29
30clean-local:
31 ./gradlew $(GRADLE_OPTS) clean \
32 -Prelease=true \
33 --console=plain
James E. King IIIb96c4382019-01-24 17:45:07 -050034 $(RM) -r .gradle
James E. King IIIb1d63e72019-01-22 14:16:39 -050035
36check-local: $(THRIFT)
37 ./gradlew $(GRADLE_OPTS) test \
38 -Prelease=true \
39 --console=plain
40
41maven-publish:
42 ./gradlew $(GRADLE_OPTS) publishMavenPublicationToMavenRepository \
43 -Prelease=true \
44 -Psign=true \
45 --console=plain
46
James E. King IIIb96c4382019-01-24 17:45:07 -050047dist-hook:
48 $(RM) -r $(distdir)/.gradle/
49
James E. King IIIb1d63e72019-01-22 14:16:39 -050050EXTRA_DIST = \
51 CMakeLists.txt \
52 README.md \
53 build.gradle \
54 coding_standards.md \
55 gradle \
56 gradle.properties \
57 gradlew \
58 gradlew.bat \
59 settings.gradle \
60 src