-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
32 lines (31 loc) · 1.64 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
(defproject discourse-reader "0.0.1"
:description "Webapp reader for React China forum"
:url "http://github.com/react-china/discourse-reader"
: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.170"]
[reagent "0.5.1"]
[hiccup "1.0.5"]
[cljs-ajax "0.5.1"]
[binaryage/devtools "0.4.1"]]
:plugins [[cirru/lein-sepal "0.0.13"]
[mvc-works/lein-html-entry "0.0.2"]
[lein-cljsbuild "1.1.1"]
[lein-figwheel "0.5.0-1"]]
:cirru-sepal {:paths ["cirru-src" "cirru-src-clj"]}
:html-entry {:file "src-clj/html.clj" :output "resources/public/index.html"}
:target-path "target/%s"
:profiles {:uberjar {:aot :all}}
:clean-targets ^{:protect false} [:target-path "resources/public/cljs"]
:cljsbuild {:builds {:dev {:source-paths ["src"]
:figwheel {:websocket-host "192.168.0.129"}
:compiler {:main "discourse_reader.core"
:asset-path "cljs/out"
:output-to "resources/public/cljs/main.js"
:output-dir "resources/public/cljs/out"}}
:prod {:source-paths ["src"]
:compiler {:output-to "resources/public/cljs/main.js"
:optimizations :advanced
:pretty-print false}}}}
:figwheel {:css-dirs ["resources/public/css"]})