-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
47 lines (43 loc) · 1.59 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
45
46
(defproject year-calendar "0.1.0-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.9.293"]
[rum "0.10.7"]]
:jvm-opts ^:replace ["-Xmx1g" "-server"]
:plugins [[lein-npm "0.6.1"]
[lein-figwheel "0.5.8"]
[lein-cljsbuild "1.1.4"
:exclusions [org.clojure/clojure]]]
:npm {:dependencies [[source-map-support "0.4.0"]]}
:source-paths ["src" "target/classes"]
:clean-targets ["out" "release"]
:target-path "target"
:resources-paths ["resources/public"]
:cljsbuild {
:builds [
{:id "year-calendar"
:source-paths ["src"]
:figwheel true
:compiler {
:main year-calendar.core
:verbose true
:asset-path "cljs/out"
:output-to "resources/public/cljs/year_calendar.js"
:output-dir "resources/public/cljs/out"
:source-map-timestamp true}}
{:id "release"
:source-paths ["src"]
:figwheel false
:compiler {
:main year-calendar.core
:optimizations :advanced
:verbose true
:source-map "release/calendar.map"
:pretty-print false
:closure-defines {"goog.DEBUG" false}
:asset-path "application"
:output-to "release/calendar.js"
:output-dir "release/"
:source-map-timestamp false}}]}
:figwheel {:css-dirs
["resources/public/css"]
})