-
Notifications
You must be signed in to change notification settings - Fork 1
/
build.boot
40 lines (34 loc) · 1.27 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
(set-env!
:dependencies '[[org.clojure/clojure "1.8.0" :scope "provided"]
[org.clojure/clojurescript "1.8.40" :scope "provided"]
[adzerk/bootlaces "0.1.13" :scope "test"]
[adzerk/boot-cljs "1.7.228-1" :scope "test"]
[hoplon/hoplon "6.0.0-alpha13"]
[aatree/aaworker "0.1.4"]]
:resource-paths #{"src/client" "src/worker"}
)
(require
'[adzerk.boot-cljs :refer [cljs]]
'[adzerk.bootlaces :refer :all])
(def +version+ "0.1.4")
(bootlaces! +version+ :dont-modify-paths? true)
(task-options!
pom {:project 'aatree/durable-cells
:version +version+
:description "Local Storage for Hoplon."
:url "https://github.com/aatree/durable-cells"
:scm {:url "https://github.com/aatree/durable-cells"}
:license {"EPL" "http://www.eclipse.org/legal/epl-v10.html"}})
(deftask dev
"Build project for development."
[]
(comp
(cljs :optimizations :simple)
(build-jar)
(target)))
(deftask deploy-release
"Build for release."
[]
(comp
(build-jar)
(push-release)))