23
23
@echo " Usage: make {help|deps|install|deploy|test|clean}" 1>&2 && false
24
24
25
25
clean :
26
- (cd boot/base && mvn -q clean && rm -f src/main/resources/$( aetheruber) )
26
+ (cd boot/base && lein clean && rm -f src/main/resources/$( aetheruber) )
27
27
(cd boot/core && lein clean)
28
28
(cd boot/aether && lein clean)
29
29
(cd boot/pod && lein clean)
@@ -44,11 +44,8 @@ bin/boot: mkdirs
44
44
45
45
deps : bin/lein bin/boot
46
46
47
- boot/base/pom.xml : $(verfile ) boot/base/pom.in.xml
48
- (cd boot/base && cat pom.in.xml | sed ' s/__VERSION__/$(version)/' > pom.xml)
49
-
50
- $(basejar ) : boot/base/pom.xml $(shell find boot/base/src/main/java)
51
- (cd boot/base && mvn -q install)
47
+ $(basejar ) : $(verfile ) boot/base/project.clj $(shell find boot/base/src/main/java)
48
+ (cd boot/base && lein install)
52
49
53
50
$(podjar ) : $(verfile ) boot/pod/project.clj $(shell find boot/pod/src)
54
51
(cd boot/pod && lein install)
@@ -64,8 +61,8 @@ $(workerjar): $(verfile) boot/worker/project.clj $(shell find boot/worker/src)
64
61
$(corejar ) : $(verfile ) boot/core/project.clj $(shell find boot/core/src)
65
62
(cd boot/core && lein install)
66
63
67
- $(baseuber ) : boot/base/pom.xml $(shell find boot/base/src/main)
68
- (cd boot/base && mvn -q assembly:assembly -DdescriptorId=jar-with-dependencies )
64
+ $(baseuber ) : boot/base/project.clj $(shell find boot/base/src/main)
65
+ (cd boot/base && lein uberjar )
69
66
70
67
$(bootjar ) : $(verfile ) boot/boot/project.clj
71
68
(cd boot/boot && lein install)
0 commit comments