-
Notifications
You must be signed in to change notification settings - Fork 2
/
build.boot
59 lines (52 loc) · 1.96 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
51
52
53
54
55
56
57
58
59
(set-env!
:dependencies '[[org.clojure/clojure "1.8.0" :scope "provided"]
[org.clojure/clojurescript "1.7.228" :scope "provided"]
[funcool/octet "0.2.0"]
[org.clojure/tools.logging "0.3.1"]
[org.apache.logging.log4j/log4j-core "2.5" :scope "test"]
[org.apache.logging.log4j/log4j-slf4j-impl "2.5" :scope "test"]
[adzerk/bootlaces "0.1.13" :scope "test"]
[adzerk/boot-test "1.1.1" :scope "test"]
[adzerk/boot-cljs "1.7.228-1" :scope "test"]
[crisptrutski/boot-cljs-test "0.2.1" :scope "test"]]
:source-paths #{"test/cljs" "test/clj" "dev-resources"}
:resource-paths #{"src/cljc"}
)
(require
'[adzerk.boot-cljs :refer [cljs]]
'[adzerk.bootlaces :refer :all]
'[adzerk.boot-test :refer :all]
'[crisptrutski.boot-cljs-test :refer [test-cljs]])
(def +version+ "0.0.8")
(bootlaces! +version+ :dont-modify-paths? true)
(task-options!
pom {:project 'aatree/aautil
:version +version+
:description "Snippets of useful code."
:url "https://github.com/aatree/aautil"
:scm {:url "https://github.com/aatree/aautil"}
:license {"EPL" "http://www.eclipse.org/legal/epl-v10.html"}}
test-cljs {:js-env :phantom
:namespaces '#{aautil.simple-test}
:update-fs? true
:optimizations :none})
(deftask dev
"Build project for development."
[]
(comp
(build-jar)))
(deftask test-it
"Setup, compile and run the tests."
[]
(comp
(cljs :source-map true)
; (test-cljs)
; (show :fileset true)
(run-tests)
))
(deftask deploy-release
"Build for release."
[]
(comp
(build-jar)
(push-release)))