-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbuild.boot
35 lines (31 loc) · 902 Bytes
/
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
(set-env!
:source-paths #{"src/cljs"}
:resource-paths #{"resources"}
:dependencies
'[[org.clojure/clojure "1.10.0"]
[org.clojure/clojurescript "1.10.520"]
[cljs-ajax "0.8.0"]
[camel-snake-kebab "0.4.0"]
[reagent "0.8.1"]
[re-frame "0.10.6"]
[day8.re-frame/http-fx "0.1.6"]
[com.taoensso/timbre "4.10.0"]
[adzerk/boot-cljs "LATEST" :scope "test"]
[adzerk/boot-reload "0.6.0" :scope "test"]
[adzerk/boot-test "1.2.0" :scope "test"]
[pandeiro/boot-http "0.8.3" :scope "test"]])
(require
'[adzerk.boot-cljs :refer [cljs]]
'[adzerk.boot-reload :refer [reload]]
'[adzerk.boot-test :refer [test]]
'[pandeiro.boot-http :refer [serve]])
(deftask dev []
(comp (serve)
(watch)
(speak)
(reload)
(cljs :optimizations :none :source-map true)
(target)))
(deftask prod []
(comp (cljs :optimizations :advanced)
(target)))