forked from MysteryMachine/kushana
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
78 lines (76 loc) · 3.11 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
(defproject kushana "0.1.0"
:description ""
:url "https://github.com/MysteryMachine/kushana"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:source-paths ["src"]
:test-paths ["test"]
:clean-targets ^{:protect false} ["resources/public/js/out"]
:dependencies [[org.clojure/clojure "1.7.0"]
[org.clojure/clojurescript "1.7.145"]
[org.clojure/core.async "0.1.346.0-17112a-alpha"]
[reagent "0.5.1"]
[ring "1.4.0"]
[ring/ring-defaults "0.1.5"]
[compojure "1.4.0"]
[enlive "1.1.6"]
[environ "1.0.1"]
[http-kit "2.1.19"]
[jamesmacaulay/zelkova "0.4.0"]
[com.taoensso/sente "1.6.0"]
[cljsjs/babylon "2.2.0-0"]
[ns-tracker "0.3.0"]]
:plugins [[lein-cljsbuild "1.1.0"]
[lein-environ "1.0.1"]]
:min-lein-version "2.5.0"
:uberjar-name "server.jar"
:cljsbuild
{:builds
{:app {:source-paths ["src"]
:compiler {:output-to "resources/public/js/app.js"
:output-dir "resources/public/js/out"
:source-map "resources/public/js/out.js.map"
:preamble ["react/react.min.js"]
:optimizations :none
:pretty-print true}}}}
:prep-tasks ["javac" "compile"]
:profiles
{:dev
{:source-paths ["env/dev"]
:test-paths ["test"]
:dependencies [[figwheel "0.4.1"]
[figwheel-sidecar "0.4.1"]
[com.cemerick/piggieback "0.2.1"]
[weasel "0.7.0"]]
:repl-options {:init-ns server.core
:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}
:plugins [[lein-figwheel "0.4.1"]]
:figwheel {:http-server-root "public"
:server-port 3449
:css-dirs ["resources/public/css"]
:ring-handler server.core/http-handler}
:env {:is-dev true}
:cljsbuild
{:test-commands { "test" ["phantomjs"
"env/test/js/unit-test.js"
"env/test/unit-test.html"] }
:builds {:app {:source-paths ["env/dev"]}
:test {:source-paths ["src" "test"]
:compiler
{:output-to "resources/public/js/app_test.js"
:output-dir "resources/public/js/test"
:source-map "resources/public/js/test.js.map"
:preamble ["react/react.min.js"]
:optimizations :whitespace
:pretty-print false}}}}}
:uberjar {:source-paths ["env/prod"]
:hooks [leiningen.cljsbuild]
:env {:production true}
:omit-source true
:aot :all
:main server.core
:cljsbuild
{:builds {:app
{:source-paths ["env/prod"]
:compiler {:optimizations :advanced
:pretty-print false}}}}}})