forked from the-other-guys/deckatron
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
56 lines (50 loc) · 1.98 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
(defproject deckatron "0.1.0-SNAPSHOT"
:dependencies [
[org.clojure/clojure "1.7.0"]
[org.clojure/clojurescript "1.7.189"]
[org.clojure/core.async "0.2.374"]
[rum "0.6.0"]
[http-kit "2.1.19"]
[compojure "1.4.0" :exclusions [commos-codec]]
[com.cognitect/transit-clj "0.8.285"]
[com.cognitect/transit-cljs "0.8.232"]
[com.lucasbradstreet/instaparse-cljs "1.4.1.0"]
]
:plugins [
[lein-cljsbuild "1.1.1"]
[tonsky/lein-figwheel "0.5.0-4"]
]
:aliases { "package" ["do"
"cljsbuild" "once" "advanced,"
"uberjar"] }
:aot [ deckatron.server ]
:uberjar-name "deckatron.jar"
:uberjar-exclusions [#"public/js/out"]
:clean-targets ^{:protect false} ["resources/public/js" "target"]
:main deckatron.server
:figwheel { :ring-handler "deckatron.server/app"
:css-dirs ["resources/public"]
:server-port 8080
:repl false }
:cljsbuild {
:builds [
{ :id "none"
:source-paths ["src"]
:figwheel { :on-jsload "deckatron.app/refresh" }
:compiler { :optimizations :none
:main deckatron.app
:asset-path "/js/out"
:output-to "resources/public/js/main.js"
:output-dir "resources/public/js/out"
:source-map true
:compiler-stats true } }
{ :id "advanced"
:source-paths ["src"]
:compiler { :optimizations :advanced
:main deckatron.app
:output-to "resources/public/js/main.js"
:compiler-stats true
:pretty-print false
:pseudo-names false } }
]}
)