-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
49 lines (39 loc) · 1.85 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
(defproject q-p "0.1.0-SNAPSHOT"
:min-lein-version "2.6.1"
:dependencies [[figwheel-sidecar "0.5.4-7"]
;;;
[org.clojure/clojure "1.9.0-alpha10"]
[org.clojure/clojurescript "1.9.89"]
[org.clojure/test.check "0.9.0"]
;;;
[com.cognitect/transit-cljs "0.8.239"]
[rum "0.10.5"]]
:plugins [[lein-figwheel "0.5.4-7"]
[lein-cljsbuild "1.1.3" :exclusions [[org.clojure/clojure]]]]
:local-repo "local-m2"
:source-paths ["src" "dev"]
:clean-targets ^{:protect false} ["resources/public/js/browser-repl" "target"]
:cljsbuild {:builds
[{:id "browser-repl"
:source-paths ["src"]
:figwheel {:on-jsload "sandbox.core/on-js-reload"
:open-urls ["http://localhost:3459/"]}
:compiler {:main sandbox.core
:asset-path "js/browser-repl"
:output-to "resources/public/js/browser-repl/index.js"
:output-dir "resources/public/js/browser-repl"
:source-map-timestamp true}}
{:id "browser-dist"
:source-paths ["src"]
:compiler {:main sandbox.core
:asset-path "js/browser-dist"
:output-to "resources/public/js/browser-dist/index.js"
:output-dir "resources/public/js/browser-dist"
:optimizations :advanced}}
{:id "node"
:source-paths ["src"]
:compiler {:main sandbox.n
:target :nodejs
:output-to "target/n/index.js"
:output-dir "target/n"
:optimizations :none}}]})