-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
69 lines (53 loc) · 2.28 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
66
67
68
69
(defproject poker-cards "0.1.0-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.9.89"]
[reagent "0.6.0-rc"]
[binaryage/devtools "0.8.1"]
[re-frame "0.8.0"]
[secretary "1.2.3"]
[compojure "1.5.0"]
[yogthos/config "0.8"]
[ring "1.4.0"]
[matchbox "0.0.9"]]
:plugins [[lein-cljsbuild "1.1.3"]]
:min-lein-version "2.5.3"
:source-paths ["src/clj"]
:clean-targets ^{:protect false} ["resources/public/js/compiled" "target"
"test/js"]
:figwheel {:css-dirs ["resources/public/css"]
:ring-handler poker-cards.handler/dev-handler}
:repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}
:profiles
{:dev
{:dependencies [[figwheel-sidecar "0.5.4-3"]
[com.cemerick/piggieback "0.2.1"]]
:plugins [[lein-figwheel "0.5.4-3"]
[lein-doo "0.1.6"]
[cider/cider-nrepl "0.13.0"]]}}
:cljsbuild
{:builds
[{:id "dev"
:source-paths ["src/cljs"]
:compiler {:main poker-cards.core
:output-to "resources/public/js/compiled/app.js"
:output-dir "resources/public/js/compiled/out"
:asset-path "js/compiled/out"
:source-map-timestamp true}
:figwheel {:on-jsload "poker-cards.core/mount-root"}}
{:id "min"
:source-paths ["src/cljs"]
:compiler {:main poker-cards.core
:output-to "resources/public/js/compiled/app.js"
:optimizations :advanced
:closure-defines {goog.DEBUG false}
:pretty-print false}
:jar true}
{:id "test"
:source-paths ["src/cljs" "test/cljs"]
:compiler {:output-to "resources/public/js/compiled/test.js"
:main poker-cards.runner
:optimizations :none}}]}
:main poker-cards.server
:aot [poker-cards.server]
:uberjar-name "poker-cards.jar"
:prep-tasks [["cljsbuild" "once" "min"] "compile"])