-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
65 lines (52 loc) · 2.64 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
59
60
61
62
63
64
65
(defproject battle-console "0.2.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"}
:source-paths ["src/clj" "src/cljs"]
:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/clojurescript "0.0-2371" :scope "provided"]
[ring "1.3.2"]
[compojure "1.2.1"]
[enlive "1.1.5"]
[om "0.7.3"]
[clj-time "0.8.0"]
[figwheel "0.1.4-SNAPSHOT"]
[environ "1.0.0"]
[cljs-ajax "0.3.3"]
[secretary "1.2.1"]
[com.cemerick/piggieback "0.1.3"]
[weasel "0.4.2"]
[leiningen "2.5.0"]]
:plugins [[lein-cljsbuild "1.0.3"]
[lein-environ "1.0.0"]
[lein-less "1.7.2"]]
:min-lein-version "2.5.0"
:uberjar-name "battle-console.jar"
:cljsbuild {:builds {:app {:source-paths ["src/cljs"]
:compiler {:output-to "resources/public/js/app.js"
:output-dir "resources/public/js/out"
:source-map "resources/public/js/out.js.map"
:preamble ["react/react.min.js"]
:externs ["react/externs/react.js"]
:optimizations :none
:pretty-print true}}}}
:less {:source-paths ["src/less"]
:target-path "resources/public/css"}
:profiles {:dev {:repl-options {:init-ns battle-console.server
:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}
:plugins [[lein-figwheel "0.1.4-SNAPSHOT"]]
:figwheel {:http-server-root "public"
:port 3449
:css-dirs ["resources/public/css"]}
:env {:is-dev true}
:cljsbuild {:builds {:app {:source-paths ["env/dev/cljs"]}}}}
:uberjar {:hooks [leiningen.cljsbuild leiningen.less]
:env {:production true}
:omit-source true
:aot :all
:cljsbuild {:builds {:app
{:source-paths ["env/prod/cljs"]
:compiler
{:optimizations :advanced
:pretty-print false}}}}}})