forked from dddplus/dddplus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
47 lines (37 loc) · 931 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
44
45
46
47
package:clean
@mvn package
clean:
@mvn clean
install:clean test
@mvn install -Pinstall
test:clean
@mvn test -Ptest
coverage:test
@mvn clean verify -Ptest
@open dddplus-test/target/site/jacoco-aggregate/index.html
javadoc:install
@mvn javadoc:javadoc -Pinstall
@open target/site/apidocs/index.html
deploy:
@mvn clean deploy verify -Possrh -e
deploy-snapshot:
@mvn clean deploy verify -Dskip.dddplus.plugin.module=false -Possrh -e
setver:
@echo mvn versions:set -DnewVersion=VER
@echo mvn versions:commit
release-javadoc:install
@git checkout gh-pages
@git pull
@git merge -m 'Merge master to gh-pages' master
@git checkout master
@mvn javadoc:javadoc
@git checkout gh-pages
@rm -rf doc/apidocs
@mv -f target/site/apidocs/ doc/
@git add doc/apidocs
@git commit -m 'Javadoc released' doc/apidocs
@git push
@git checkout master
all:release-javadoc deploy-snapshot
@git push origin
@git push dddplus