-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathproject.clj
More file actions
56 lines (49 loc) · 2.55 KB
/
Copy pathproject.clj
File metadata and controls
56 lines (49 loc) · 2.55 KB
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
50
51
52
53
54
55
56
(defproject swipe "0.1.0-SNAPSHOT"
:description "FIXME: write this!"
:url "http://example.com/FIXME"
:dependencies [[org.clojure/clojure "1.5.1"]
[ring/ring-core "1.1.8"]
[compojure "1.1.5"]
[org.clojure/clojurescript "0.0-2030"]
[org.clojure/core.async "0.1.256.0-1bf8cf-alpha"]]
:plugins [[lein-cljsbuild "1.0.2"]
[com.cemerick/clojurescript.test "0.3.0"]
[lein-ring "0.8.6"]]
:source-paths ["src/clj"]
:ring {:handler server/app}
:cljsbuild {
:builds {
:prod
{:source-paths ["src/cljs" "src/cljs-main"]
:jar true
:compiler {:output-to "resources/public/js/main.js"
:optimizations :advanced
:pretty-print true}}
:prod-worker
{:source-paths ["src/cljs" "src/cljs-worker"]
:jar true
:compiler {:output-to "resources/public/js/worker.js"
:optimizations :advanced
:pretty-print true }}
:dev {:source-paths ["src/cljs" "src/cljs-main"]
:jar true
:compiler {:output-to "resources/public/js/main-dev.js"
:optimizations :whitespace
:pretty-print true
:source-map "resources/public/main-dev.map" }}
:dev-worker {:source-paths ["src/cljs" "src/cljs-worker"]
:jar true
:compiler {:output-to "resources/public/js/worker-dev.js"
:optimizations :whitespace
:pretty-print true
:source-map "resources/public/worker-dev.map" }}
:test {
:source-paths ["src/cljs" "test"]
:compiler {
:output-to "target/test.js"
:optimizations :whitespace
:pretty-print true }}
}
:test-commands {"unit" ["phantomjs" :runner
"target/test.js"]}}
)