-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
50 lines (50 loc) · 2.65 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
(defproject catalyst "0.1.0"
:description "Catalyst as todolist demo"
:url "http://github.com/Cumulo/catalyst"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.7.0"]
[org.clojure/clojurescript "1.7.228"]
[reagent "0.5.1"]
[hiccup "1.0.5"]
[binaryage/devtools "0.4.1"]
[differ "0.2.2"]
[mvc-works/hsl "0.1.1"]
[org.clojure/core.async "0.2.374"]]
:plugins [[cirru/lein-sepal "0.0.15"]
[mvc-works/lein-html-entry "0.0.2"]
[lein-cljsbuild "1.1.2"]
[lein-figwheel "0.5.0-3"]]
:cirru-sepal {:paths ["cirru-src" "cirru-html" "cirru-server"]}
:html-entry {:file "html/html.clj" :output "resources/public/index.html"}
:clean-targets ^{:protect false} [:target-path "resources/public/cljs"]
:main ^:skip-aot catalyst.core
:target-path "target/%s"
:cljsbuild {:builds {:web-dev {:source-paths ["src"]
:figwheel {:websocket-host "repo"}
:compiler {:main catalyst.core
:asset-path "cljs/out"
:output-to "resources/public/cljs/main.js"
:output-dir "resources/public/cljs/out"}}
:web-prod {:source-paths ["src"]
:compiler {:output-to "resources/public/cljs/main.js"
:optimizations :advanced
:pretty-print false}}
:server-dev {:source-paths ["server"]
:figwheel true
:compiler {
:main catalyst.server
:output-to "target/server.js"
:output-dir "target/server_dev"
:target :nodejs
:optimizations :none
:source-map true}}
:server-prod {:source-paths ["server"]
:compiler {:output-to "target/server.js"
:output-dir "target/server_prod"
:target :nodejs
:optimizations :simple}}}}
:figwheel {:css-dirs ["resources/public/css"]
:load-warninged-code false}
:profiles {:uberjar {:aot :all}}
:parallel-build true)