-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
39 lines (31 loc) · 1.75 KB
/
project.clj
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
(defproject peg-thing "0.1.0-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/clojurescript "0.0-3211"]
[reagent "0.5.0"]
[re-frame "0.4.1"]]
:source-paths ["src/clj"]
:plugins [[lein-cljsbuild "1.0.6"]
[lein-figwheel "0.3.3" :exclusions [cider/cider-nrepl]]]
:clean-targets ^{:protect false} ["resources/public/js/compiled" "target" "test/js"]
:cljsbuild {:builds [{:id "dev"
:source-paths ["src/cljs"]
:figwheel {:on-jsload "peg-thing.core/mount-root"}
:compiler {:main peg-thing.core
:output-to "resources/public/js/compiled/app.js"
:output-dir "resources/public/js/compiled/out"
:asset-path "js/compiled/out"
:source-map-timestamp true}}
{:id "test"
:source-paths ["src/cljs" "test/cljs"]
:notify-command ["phantomjs" "test/unit-test.js" "test/unit-test.html"]
:compiler {:optimizations :whitespace
:pretty-print true
:output-to "test/js/app_test.js"
:warnings {:single-segment-namespace false}}}
{:id "min"
:source-paths ["src/cljs"]
:compiler {:main peg-thing.core
:output-to "resources/public/js/compiled/app.js"
:optimizations :advanced
:pretty-print false}}]}
:figwheel {:nrepl-port 7002})