forked from pangloss/clang
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
54 lines (45 loc) · 2.18 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
(defproject
clang "0.1.0-SNAPSHOT"
:description "ClojureScript on Angular"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
[xnlogic/clobber "0.1.0-SNAPSHOT"]]
:source-paths ["client"]
:plugins [[lein-cljsbuild "0.3.2"]]
; To get the shegon server:
; CLASSPATH=./client:$CLASSPATH lein shegon
; -> http://localhost:19000/
:cljsbuild {:repl-launch-commands {"firefox" ; lein cljsbuild trampoline repl-launch firefox path/to/html
["/Users/dw/Applications/Firefox.app/Contents/MacOS/firefox"
"-jsconsole"
:stdout ".repl-firefox-out"
:stderr ".repl-firefox-err"]
"ff"
["/Users/dw/Applications/Firefox.app/Contents/MacOS/firefox"
"-jsconsole"
"resources/public/index.html"
:stdout ".repl-firefox-out"
:stderr ".repl-firefox-err"]
}
:repl-listen-port 9000
;:notify-command ["growlnotify" "-m"]
:builds
{:dev
{:source-paths ["client" "sample"]
:compiler {:output-to "resources/public/js/clang_dbg.js"
:optimizations :whitespace
:pretty-print true}}
:prod
{:source-paths ["client" "sample"]
:compiler {:output-to "resources/public/js/clang.js"
:pretty-print false
:optimizations :advanced}}
:pre-prod
{:source-paths ["client" "sample"]
:compiler {:output-to "resources/public/js/clang_pre.js"
:optimizations :simple
:pretty-print false
}}}
})