-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathproject.clj
35 lines (31 loc) · 1.53 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
(defproject clojure-plus "0.0.1-SNAPSHOT"
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.9.456"]
[expectations "2.1.0"]]
:plugins [[lein-cljsbuild "1.1.5"]]
:repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl]}
:profiles {:dev {:dependencies [[midje "1.8.3"]
[com.cemerick/piggieback "0.2.1"]
[figwheel-sidecar "0.5.4-6"]]
:plugins [[lein-midje "3.2.1"]]}}
:source-paths ["lib" "src"]
:clean-targets ^{:protect false} ["lib/js"]
:cljsbuild {:builds [{:id "dev"
:source-paths ["src" "test"]
:figwheel true
:compiler {:main clojure-plus.all-tests
:output-to "lib/js/main.js"
:output-dir "lib/js"
:target :nodejs
:optimizations :none
:source-map true}}
{:id "release"
:source-paths ["src"]
:figwheel true
:compiler {:main clojure-plus.core
:output-to "lib/js/main.js"
; :output-dir "lib/js"
:target :nodejs
:optimizations :simple
:output-wrapper true}}]}
:figwheel {})