blob: f6cbad7991eda16274640e818578bfbbfc78764e (
plain)
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 '[[adzerk/boot-cljs "1.7.228-1"]
[cljsjs/jquery "2.2.2-0"]
[com.cognitect/transit-cljs "0.8.239"]
[fence "0.2.0"]
[hoplon/boot-hoplon "0.1.13"]
[hoplon/hoplon "6.0.0-alpha16"]
[net.clojure/monads "1.0.2"]
[org.clojure/clojure "1.7.0"]
[org.clojure/clojurescript "1.7.170"]
[org.clojure/core.async "0.2.374"]
[pandeiro/boot-http "0.7.3"]]
:source-paths #{"src/cljs" "src/hl" "src/js"}
:resource-paths #{"assets"})
(require
'[adzerk.boot-cljs :refer [cljs]]
'[hoplon.boot-hoplon :refer [hoplon prerender]]
'[pandeiro.boot-http :refer [serve]])
(deftask dev
"Build gnunet-web for development."
[]
(comp
(watch)
(speak)
(hoplon)
(cljs)
(serve :port 8000)))
(deftask prod
"Build gnunet-web for production."
[]
(comp
(hoplon)
(cljs :optimizations :advanced)
(prerender)
(target :dir #{"target"})))
;; vim: set filetype=clojure :
|