-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
44 lines (36 loc) · 1.99 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
40
41
42
43
44
(defproject rtc "0.1.0-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.7.0"]
[org.clojure/clojurescript "1.7.107"]
[reagent "0.5.1"]
[re-frame "0.4.1"]
[secretary "1.2.3"]
[prismatic/schema "1.0.3"]
[fipp "0.6.3"]]
: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" "src/cljc"]
:figwheel {:on-jsload "rtc.core/mount-root"
:css-dirs ["resources/public/css"]}
:compiler {:main rtc.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"]
:compiler {:main rtc.core
:output-to "resources/public/js/compiled/app.js"
:optimizations :advanced
:closure-defines {"goog.DEBUG" false}
:pretty-print false}}]})