-
Notifications
You must be signed in to change notification settings - Fork 0
/
build.boot
50 lines (43 loc) · 1.35 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
44
45
46
47
48
49
50
(set-env!
:dependencies '[[org.clojure/clojure "1.8.0" :scope "provided"]
[org.clojure/clojurescript "1.7.228" :scope "provided"]
[adzerk/bootlaces "0.1.13" :scope "test"]
[adzerk/boot-test "1.1.1" :scope "test"]]
:source-paths #{"test/clj"}
:resource-paths #{"src/clj" "src/cljc" "src/cljs"}
)
(require
'[adzerk.boot-test :refer :all]
'[adzerk.bootlaces :refer :all])
(def +version+ "0.0.1")
(bootlaces! +version+ :dont-modify-paths? true)
(task-options!
pom {:project 'aadurable
:version +version+
:description "Lazy serialization and virtual data structures"
:url "https://github.com/aatree/aadurable"
:scm {:url "https://github.com/aatree/aadurable"}
:license {"EPL" "http://www.eclipse.org/legal/epl-v10.html"}}
aot {:namespace '#{aadurable.CountedSequence aadurable.nodes}})
(deftask dev
"Build project for development."
[]
(comp
(aot)
; (show :fileset true)
(build-jar)
(target)))
(deftask test-it
"Setup, compile and run the tests."
[]
(comp
(aot)
; (show :fileset true)
(run-tests)
))
(deftask deploy-release
"Build for release."
[]
(comp
(build-jar)
(push-release)))