-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
65 lines (52 loc) · 2.78 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 tackytoe "0.1.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"}
:dependencies [[org.clojure/clojure "1.7.0-RC1"]
[org.clojure/clojurescript "0.0-3297"]
[ring "1.4.0-RC1"]
[ring/ring-defaults "0.1.5"]
[compojure "1.3.4"]
[environ "1.0.0"]
[reagent "0.5.0" :exclusions [cljsjs/react]]
[cljsjs/react-with-addons "0.13.3-0"]
[secretary "1.2.3"]]
:plugins [[lein-cljsbuild "1.0.6"]
[lein-environ "1.0.0"]]
:min-lein-version "2.5.0"
:source-paths ["src/clj"]
:repl-options {:timeout 200000} ;; Defaults to 30000 (30 seconds)
:uberjar-name "tackytoe.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 ["reagent/react.js"]
:optimizations :none
:pretty-print true}}}}
:profiles {:dev {:source-paths ["env/dev/clj"]
:test-paths ["test/clj"]
:dependencies [[figwheel "0.3.3" :exclusions [org.clojure/clojure]]
[figwheel-sidecar "0.3.3"]
[com.cemerick/piggieback "0.1.5"]
[weasel "0.6.0"]]
:repl-options {:init-ns tackytoe.server
:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}
:plugins [[lein-figwheel "0.3.3"]
[lein-ancient "0.6.7"]]
:figwheel {:http-server-root "public"
:server-port 3449
:css-dirs ["resources/public/css"]}
:env {:is-dev true}
:cljsbuild {:builds {:app {:source-paths ["env/dev/cljs"]}}}}
:uberjar {:source-paths ["env/prod/clj"]
: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}}}}}})