-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathproject.clj
48 lines (40 loc) · 2.19 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
(defproject shrimp "0.1.1-SNAPSHOT"
:description "A ClojureScript library targeting Node.js and providing async channels on top of Red Lobster promise library."
:url "https://github.com/pepzer/shrimp"
:license {:name "Mozilla Public License Version 2.0"
:url "http://mozilla.org/MPL/2.0/"}
:min-lein-version "2.7.1"
:dependencies [[org.clojars.pepzer/redlobster "0.2.2"]]
:plugins [[lein-figwheel "0.5.13"]
[lein-cljsbuild "1.1.7" :exclusions [[org.clojure/clojure]]]]
:clean-targets ^{:protect false} ["target"]
:source-paths ["src/cljc" "src/cljs" "test/cljs"]
:cljsbuild {:test-commands {"node" ["node" "target/out-test/shrimp.js"]}
:builds [{:id "dev"
:source-paths ["src/cljc" "src/cljs"]
:figwheel true
:compiler {:main shrimp.dev
:output-to "target/out/shrimp.js"
:output-dir "target/out"
:target :nodejs
:optimizations :none
:source-map true }}
{:id "test-all"
:source-paths ["src/cljc" "src/cljs" "test/cljs"]
:compiler {:main shrimp.tests
:output-to "target/out-test/shrimp.js"
:output-dir "target/out-test"
:target :nodejs
:optimizations :none
:source-map true }}
#_{:id "prod"
:source-paths ["src/cljc" "src/cljs"]
:compiler {:output-to "target/out-rel/shrimp.js"
:output-dir "target/out-rel"
:target :nodejs
:optimizations :advanced
:source-map false }}]}
:profiles {:dev {:source-paths ["dev"]
:dependencies [[org.clojure/clojurescript "1.9.946"]
[org.clojure/clojure "1.9.0-beta1"]]}}
:figwheel {})