-
Notifications
You must be signed in to change notification settings - Fork 13
/
Makefile
23 lines (17 loc) · 856 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
version=8.4.8
package_no_test:
mvn clean package -Dmaven.test.skip=true
deploy_no_test:
mvn clean deploy -P release -Dmaven.test.skip=true
release_jar_to_devtools:
qsuits -s -path=target/qsuits-$(version)-jar-with-dependencies.jar -process=qupload -a=devtools -bucket=devtools -keep-path=false
qsuits -s -url=http://devtools.qiniu.com/qsuits-$(version)-jar-with-dependencies.jar -process=cdnprefetch -a=devtools
qsuits -s -url=https://devtools.qiniu.com/qsuits-$(version)-jar-with-dependencies.jar -process=cdnprefetch -a=devtools
clean_logs:
rm -rf logs*
clean:
mvn clean
build:
[ -d ~/.qsuits ] || mkdir ~/.qsuits
[ -f target/qsuits-$(version)-jar-with-dependencies.jar ] || mvn package -Dmaven.test.skip=true
[ -f ~/.qsuits/qsuits-$(version).jar ] || cp target/qsuits-$(version)-jar-with-dependencies.jar ~/.qsuits/qsuits-$(version).jar