David Reiss | ea2cba8 | 2009-03-30 21:35:00 +0000 | [diff] [blame] | 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 | |
David Reiss | fff84d1 | 2009-05-22 19:50:33 +0000 | [diff] [blame] | 20 | export CLASSPATH |
| 21 | |
David Reiss | 3de1c4e | 2008-02-24 17:45:03 +0000 | [diff] [blame] | 22 | all-local: |
Jiayu Liu | 23b8636 | 2022-05-06 12:42:18 +0800 | [diff] [blame] | 23 | $(GRADLE) $(GRADLE_OPTS) assemble \ |
Alex Volanis | 7004a61 | 2018-01-24 10:30:13 -0500 | [diff] [blame] | 24 | -Prelease=true \ |
| 25 | -Pthrift.version=$(PACKAGE_VERSION) \ |
| 26 | --console=plain |
David Reiss | f8dcf03 | 2008-02-23 22:07:39 +0000 | [diff] [blame] | 27 | |
| 28 | install-exec-hook: |
Jiayu Liu | 5b15838 | 2022-05-12 00:20:37 +0800 | [diff] [blame] | 29 | $(GRADLE) $(GRADLE_OPTS) publishToMavenLocal \ |
Alex Volanis | 7004a61 | 2018-01-24 10:30:13 -0500 | [diff] [blame] | 30 | -Prelease=true \ |
| 31 | -Pinstall.path=$(DESTDIR)$(JAVA_PREFIX) \ |
| 32 | -Pinstall.javadoc.path=$(DESTDIR)$(docdir)/java \ |
| 33 | -Pthrift.version=$(PACKAGE_VERSION) \ |
| 34 | --console=plain |
David Reiss | f8dcf03 | 2008-02-23 22:07:39 +0000 | [diff] [blame] | 35 | |
David Reiss | 2ca456a | 2008-02-24 16:42:18 +0000 | [diff] [blame] | 36 | clean-local: |
Jiayu Liu | 23b8636 | 2022-05-06 12:42:18 +0800 | [diff] [blame] | 37 | $(GRADLE) $(GRADLE_OPTS) clean --console=plain |
David Reiss | f8dcf03 | 2008-02-23 22:07:39 +0000 | [diff] [blame] | 38 | |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 39 | precross: $(THRIFT) |
Jiayu Liu | 23b8636 | 2022-05-06 12:42:18 +0800 | [diff] [blame] | 40 | $(GRADLE) $(GRADLE_OPTS) shadowJar \ |
Alex Volanis | 7004a61 | 2018-01-24 10:30:13 -0500 | [diff] [blame] | 41 | -Prelease=true \ |
| 42 | -Pthrift.version=$(PACKAGE_VERSION) \ |
| 43 | -Pthrift.compiler=$(THRIFT) \ |
| 44 | --console=plain |
Roger Meier | 41ad434 | 2015-03-24 22:30:40 +0100 | [diff] [blame] | 45 | |
Alex Volanis | 7004a61 | 2018-01-24 10:30:13 -0500 | [diff] [blame] | 46 | check-local: $(THRIFT) |
Jiayu Liu | 23b8636 | 2022-05-06 12:42:18 +0800 | [diff] [blame] | 47 | $(GRADLE) $(GRADLE_OPTS) test \ |
Alex Volanis | 7004a61 | 2018-01-24 10:30:13 -0500 | [diff] [blame] | 48 | -Prelease=true \ |
| 49 | -Pthrift.version=$(PACKAGE_VERSION) \ |
| 50 | -Pthrift.compiler=$(THRIFT) \ |
| 51 | --console=plain |
| 52 | |
| 53 | maven-publish: |
Jiayu Liu | 5b15838 | 2022-05-12 00:20:37 +0800 | [diff] [blame] | 54 | $(GRADLE) $(GRADLE_OPTS) publish \ |
Alex Volanis | 7004a61 | 2018-01-24 10:30:13 -0500 | [diff] [blame] | 55 | -Prelease=true \ |
| 56 | -Pthrift.version=$(PACKAGE_VERSION) \ |
| 57 | --console=plain |
Bryan Duxbury | 50119f1 | 2009-01-29 21:31:25 +0000 | [diff] [blame] | 58 | |
jfarrell | 8fd8c63 | 2014-07-10 09:14:51 -0400 | [diff] [blame] | 59 | EXTRA_DIST = \ |
Alex Volanis | 7004a61 | 2018-01-24 10:30:13 -0500 | [diff] [blame] | 60 | build.gradle \ |
| 61 | gradle.properties \ |
| 62 | settings.gradle \ |
| 63 | gradle \ |
jfarrell | f13e431 | 2015-08-25 00:39:29 -0400 | [diff] [blame] | 64 | CMakeLists.txt \ |
| 65 | coding_standards.md \ |
Nobuaki Sukegawa | 73d1637 | 2016-03-19 23:32:11 +0900 | [diff] [blame] | 66 | android \ |
Jens Geyer | 79f988c | 2014-10-03 20:42:54 +0200 | [diff] [blame] | 67 | src \ |
Alex Volanis | 7004a61 | 2018-01-24 10:30:13 -0500 | [diff] [blame] | 68 | code_quality_tools \ |
Nobuaki Sukegawa | 73d1637 | 2016-03-19 23:32:11 +0900 | [diff] [blame] | 69 | README.md |