-
Notifications
You must be signed in to change notification settings - Fork 268
/
Makefile
68 lines (52 loc) · 1.66 KB
/
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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
BRANCH := $(shell git rev-parse --abbrev-ref HEAD)
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
mutation:install
@mvn eu.stamp-project:pitmp-maven-plugin:run
@open dddplus-test/target/pit-reports/
jdepend:
@mvn site
@find . -name jdepend-report.html
doxygen:
@doxygen Doxyfile
@open target/callgraph/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
visualize-showcase:
@mvn io.github.dddplus:dddplus-maven-plugin:model -DrootDir=./dddplus-test/src/test/java/ddd/plus/showcase/wms/ -DplantUml=./doc/showcase/wms.svg -Dencapsulation=./doc/showcase/encapsulation.txt -DtextModel=./doc/showcase/wms.txt
@dot -Tsvg doc/showcase/callgraph.dot -o doc/showcase/callgraph.svg
enforce-showcase:
@mvn io.github.dddplus:dddplus-maven-plugin:enforce -DrootPackage=ddd.plus.showcase.wms -DrootDir=./dddplus-test/src/test/java/ddd/plus/showcase/wms/
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