forked from jiakuan/gwt-gradle-plugin
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
43 lines (32 loc) · 859 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
LATEST_TAG?=`git tag|sort -t. -k 1,1n -k 2,2n -k 3,3n -k 4,4n | tail -1`
help:
cat Makefile.txt
clean:
rm -rf build
./gradlew clean && cd examples && ./gradlew clean
.PHONY: build
build:
./gradlew build
build-fast:
./gradlew build -Pcheck=false
.PHONY: examples
examples:
cd examples && ./gradlew clean build
release:
./gradlew release
publish-snapshot:
./gradlew build publishMavenJavaPublicationToMavenLocal publishMavenJavaPublicationToMavenRepository
publish:
git checkout tags/${LATEST_TAG}
./gradlew build publishMavenJavaPublicationToMavenLocal publishMavenJavaPublicationToMavenRepository
git checkout main
publish-plugins-snapshot:
./gradlew publishPlugins
publish-plugins:
git checkout tags/${LATEST_TAG}
./gradlew publishPlugins
git checkout main
.PHONY: doc
doc: build
rm -rf doc/javadoc/
cp -r build/docs/javadoc doc/