-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathproject.clj
More file actions
60 lines (48 loc) · 2.37 KB
/
project.clj
File metadata and controls
60 lines (48 loc) · 2.37 KB
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
(defproject hh_example "1.0.0-SNAPSHOT"
:description "A repository of examples for HellHound"
:url "http://hellhound.io"
:license {:name "MTI"
:url "https://opensource.org/licenses/MIT"}
:dependencies [[org.clojure/clojure "1.9.0"]
[org.clojure/clojurescript "1.9.908"]
[codamic/hellhound "1.0.0-SNAPSHOT"]]
:plugins [[lein-cljsbuild "1.1.7"]]
:clean-targets ^{:protect false} ["resources/public/js/compiled" "target"
"test/js"]
:figwheel {:css-dirs ["resources/public/css"]}
:repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}
:resource-paths ["resources"]
:source-paths ["src/clj"]
:main ^:skip-aot hh-example.core
:target-path "target/%s"
:profiles {:dev {:dependencies [[binaryage/devtools "0.9.4"]
[figwheel-sidecar "0.5.9"]
[com.cemerick/piggieback "0.2.1"]]
:plugins [[lein-figwheel "0.5.13"]
[lein-doo "0.1.7"]]}
:uberjar {:aot :all}}
:cljsbuild
{:builds
[{:id "dev"
:source-paths ["src/cljs" "checkouts/hellhound/src/cljs/"]
:figwheel {:on-jsload "hh_example.core/mount-root"}
:compiler {:main hh_example.core
:output-to "resources/public/js/compiled/app.js"
:output-dir "resources/public/js/compiled/out"
:asset-path "js/compiled/out"
:source-map-timestamp true
:preloads [devtools.preload]
:external-config {:devtools/config {:features-to-install :all}}}}
{:id "min"
:source-paths ["src/cljs"]
:compiler {:main hh_example.core
:output-to "resources/public/js/compiled/app.js"
:optimizations :advanced
:closure-defines {goog.DEBUG false}
:pretty-print false}}
{:id "test"
:source-paths ["src/cljs" "test/cljs"]
:compiler {:main hh_example.runner
:output-to "resources/public/js/compiled/test.js"
:output-dir "resources/public/js/compiled/test/out"
:optimizations :none}}]})