-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
84 lines (72 loc) · 2.89 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
(defproject pintoid "0.1.0-SNAPSHOT"
:description "Multiplayer asteroid-like game"
:dependencies [[org.clojure/clojure "1.10.0-RC1"]
[org.clojure/algo.monads "0.1.6"]
[org.clojure/clojurescript "1.10.439"]
[org.clojure/core.async "0.4.474"]
[org.clojure/data.int-map "0.2.4"]
[org.clojure/data.xml "0.2.0-alpha5"]
[nrepl/nrepl "0.5.1"]
[cider/piggieback "0.3.10"]
[cljsbuild/cljsbuild "1.1.7"]
[cljsjs/pixi "4.7.0-0"]
[cljsjs/howler "2.0.5-0"]
[com.cognitect/transit-clj "0.8.313"]
[com.cognitect/transit-cljs "0.8.256"]
[com.taoensso/timbre "4.10.0"]
[com.taoensso/tufte "2.0.1"]
[compojure/compojure "1.6.1"]
[hiccup/hiccup "2.0.0-alpha1"]
[http-kit/http-kit "2.3.0"]
[jarohen/chord "0.8.1"]
[mount/mount "0.1.14"]
[prismatic/dommy "1.1.0"]
[ring/ring-core "1.7.1"]
[aero/aero "1.1.3"]
[weasel/weasel "0.7.0"]
]
:plugins [[lein-cljsbuild "1.1.7"]
[lein-shell "0.5.0"]
[lein-with-env-vars "0.2.0"]
[lein-binplus "0.6.4"]]
:hooks [leiningen.cljsbuild
leiningen.with-env-vars/auto-inject]
:main pintoid.main
:jar-name "pintoid-onlyclj-%s.jar"
:uberjar-name "pintoid-%s.jar"
:bin {:name "../pintoid"
:jvm-opts
["-server"
"-Xms64m"
"-Xmx1024m"
"-XX:MaxGCPauseMillis=10"
]}
:resource-paths ["resources" "target/resources"]
:aliases {"jar" "uberjar"
"run-prod" ["do" "uberjar," "shell" "java" "-jar" "target/pintoid-${:version}.jar"]}
:cljsbuild
{:builds
{:main {:source-paths ["src/pintoid/client"]
:compiler {:output-to "target/resources/js/pintoid.js"
:language-in :ecmascript5
:language-out :ecmascript5
:optimizations :whitespace
:main pintoid.client.core}}}}
:repl-options {:port 9891}
:profiles
{
:dev
{:cljsbuild {:builds {:main {:compiler {:optimizations :whitespace
:source-map "target/resources/js/pintoid.js.map"
:output-dir "target/resources/js"
:pretty-print true
}}}}}
:prod
{:env-vars {:TIMBRE_LEVEL :info}
:cljsbuild {:builds {:main {:jar true
:compiler {:optimizations :advanced
:elide-asserts true}}}}}
:repl [:dev {:dependencies [[criterium/criterium "0.4.4"]]}]
:uberjar [:prod {:aot :all :auto-clean true}]
}
)