-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathproject.clj
43 lines (34 loc) · 1.89 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
(defproject github-profile "0.1.0-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.7.0"]
[org.clojure/clojurescript "1.7.145"]
[reagent "0.5.1"]
[re-frame "0.5.0"]
[cljs-ajax "0.5.1"]
[secretary "1.2.3"]]
:source-paths ["src/clj"]
:plugins [[lein-cljsbuild "1.1.1"]
[lein-figwheel "0.4.1" :exclusions [cider/cider-nrepl]] ]
:clean-targets ^{:protect false} ["resources/public/js/compiled" "target"
"test/js"]
:figwheel {:css-dirs ["resources/public/css"]}
:cljsbuild {:builds [{:id "dev"
:source-paths ["src/cljs"]
:figwheel {:on-jsload "github-profile.core/mount-root"}
:compiler {:main github-profile.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 github-profile.core
:output-to "resources/public/js/compiled/app.js"
:optimizations :advanced
:pretty-print false}}]})