-
Notifications
You must be signed in to change notification settings - Fork 1
/
project.clj
50 lines (40 loc) · 1.9 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
47
48
49
(defproject ca-vote "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:min-lein-version "2.1.2"
:source-paths ["src/clj"]
:dependencies [[org.clojure/clojure "1.5.1"]
[compojure "1.1.5"]
[hiccup "1.0.3"]
[domina "1.0.2-SNAPSHOT"]
[org.clojure/data.json "0.2.2"]
]
:plugins [[lein-cljsbuild "0.3.2"]
[lein-ring "0.8.5"]]
:ring {:handler ca-vote.core/app}
:cljsbuild {:builds {
:dev
{:source-paths ["src/brepl" "src/cljs"]
:compiler {:output-to "resources/public/js/dev.js"
:optimizations :whitespace
:pretty-print true}}
:prod
{:source-paths ["src/cljs"]
:compiler {:output-to "resources/public/js/prod.js"
:optimizations :advanced}}
:worker
{:source-paths ["src/worker"]
:compiler {:output-to "resources/public/js/worker.js"
;; :optimizations :advanced
:optimizations :whitespace
:pretty-print true
}}
;; :cli
;; {:source-paths ["src/cli"]
;; :compiler {:output-to "resources/public/js/cli.js"
;; :optimizations :advanced
;; :pretty-print true
;; }}
}})