-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.boot
43 lines (37 loc) · 1.03 KB
/
build.boot
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
(set-env!
:source-paths #{"src"}
:dependencies '[[org.clojure/clojure "1.10.0" :scope "provided"]
[org.clojure/data.json "0.2.6" :scope "provided"]
[org.clojure/tools.cli "0.4.1" :scope "provided"]
[degree9/boot-semver "1.8.0-SNAPSHOT" :scope "test"]])
(require ['degree9.boot-semver :refer :all]
['bootstrap])
(task-options!
aot {:namespace ['bootstrap]}
pom {:project 'boot/bootstrap
:description "Bootstrap ."
:url "https://github.com/degree9/boot-semver"
:scm {:url "https://github.com/degree9/boot-semver"}})
(deftask deps
"Preload deps into docker container."
[]
identity)
(deftask build
"Compile bootstrap classes."
[]
(comp
(version)
(aot)))
(deftask standalone
"Package bootstrap as a standalone uber-jar."
[]
(comp
(uber)
(jar :main 'bootstrap :file "bootstrap.uber.jar")
(target)))
(deftask library
"Package bootstrap as a library jar."
[]
(comp
(build-jar)
(target)))