-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
64 lines (47 loc) · 2.27 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
(defproject org-ui "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:source-paths ["src/clj" "src/cljs"]
:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/clojurescript "0.0-2850" :scope "provided"]
[org.clojure/core.async "0.1.346.0-17112a-alpha"]
[jarohen/chord "0.6.0"]
[org.clojars.franks42/cljs-uuid-utils "0.1.3"]
;; Server
[ring "1.3.1"]
[compojure "1.2.0"]
;; UI
[org.omcljs/om "0.8.8"]
[sablono "0.3.3"]
;; Dev
[figwheel "0.1.4-SNAPSHOT"]
[environ "1.0.0"]
[enlive "1.1.5"]
[leiningen "2.5.0"]]
:plugins [[lein-cljsbuild "1.0.5"]
[lein-environ "1.0.0"]]
:min-lein-version "2.5.0"
:uberjar-name "org-ui.jar"
:main org-ui.server
: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"
:optimizations :none
:pretty-print true}}}}
:profiles {:dev {:repl-options {:init-ns org-ui.server}
: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]
:env {:production true}
:omit-source true
:aot :all
:cljsbuild {:builds {:app
{:source-paths ["env/prod/cljs"]
:compiler
{:optimizations :advanced
:pretty-print false}}}}}})