-
-
Notifications
You must be signed in to change notification settings - Fork 33
/
Makefile
30 lines (21 loc) · 1.17 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
.PHONY: clean docs test lint-dbg lint-inst install-dbg install-inst deploy-dbg deploy-inst
docs: docs/user_guide.adoc
asciidoctorj -b html5 -o docs/user_guide.html docs/user_guide.adoc
clean:
clj -T:build clean
test:
clj -M:test:dev unit-clj
lint:
clj-kondo --config .clj-kondo/config.edn --lint src-dbg src-shared src-inst
flow-storm-dbg.jar:
clj -T:build jar-dbg
flow-storm-inst.jar:
clj -T:build jar-inst
install-dbg: flow-storm-dbg.jar
mvn install:install-file -Dfile=target/flow-storm-dbg.jar -DpomFile=target/classes/META-INF/maven/com.github.flow-storm/flow-storm-dbg/pom.xml
install-inst: flow-storm-inst.jar
mvn install:install-file -Dfile=target/flow-storm-inst.jar -DpomFile=target/classes/META-INF/maven/com.github.flow-storm/flow-storm-inst/pom.xml
deploy-dbg:
mvn deploy:deploy-file -Dfile=target/flow-storm-dbg.jar -DrepositoryId=clojars -DpomFile=target/classes/META-INF/maven/com.github.flow-storm/flow-storm-dbg/pom.xml -Durl=https://clojars.org/repo
deploy-inst:
mvn deploy:deploy-file -Dfile=target/flow-storm-inst.jar -DrepositoryId=clojars -DpomFile=target/classes/META-INF/maven/com.github.flow-storm/flow-storm-inst/pom.xml -Durl=https://clojars.org/repo