-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathproject.clj
58 lines (47 loc) · 1.88 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
50
51
52
53
54
55
56
57
58
(defproject cljs.info "0.1.0"
:description "A cool ClojureScript website."
:url "https://github.com/cljsinfo/cljs.info"
:license {:name "MIT License"
:url "https://github.com/cljsinfo/cljs.info/blob/master/LICENSE.md"
:distribution :repo}
:dependencies [[org.clojure/clojure "1.7.0"]
[org.clojure/clojurescript "1.7.170"]
[com.cognitect/transit-cljs "0.8.207"]
[hiccups "0.3.0"]]
:plugins [[lein-cljsbuild "1.1.1"]]
:source-paths ["src"]
:clean-targets ["app.js"
"public/js/cheatsheet.js"
"public/js/cheatsheet.min.js"
"public/js/client.js"
"public/js/client.min.js"
"target"]
:cljsbuild
{:builds
[{:id "cheatsheet"
:source-paths ["cljs-cheatsheet"]
:compiler {:output-to "public/js/cheatsheet.js"
:optimizations :whitespace}}
{:id "cheatsheet-adv"
:source-paths ["cljs-cheatsheet"]
:compiler {:externs ["externs/jquery-1.9.js"]
:output-to "public/js/cheatsheet.min.js"
:optimizations :advanced
:pretty-print false}}
{:id "client"
:source-paths ["cljs-client"]
:compiler {:output-to "public/js/client.js"
:optimizations :whitespace}}
{:id "client-adv"
:source-paths ["cljs-client"]
:compiler {:externs ["externs/jquery-1.9.js"]
:output-to "public/js/client.min.js"
:optimizations :advanced
:pretty-print false}}
{:id "server"
:source-paths ["cljs-server"]
:compiler {:language-in :ecmascript5
:language-out :ecmascript5
:output-to "app.js"
:optimizations :simple
:target :nodejs}}]})