-
Notifications
You must be signed in to change notification settings - Fork 212
/
project.clj
62 lines (59 loc) · 2.38 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
50
51
52
53
54
55
56
57
58
59
60
61
62
(defproject org.clojure/core.async "0.1.0-SNAPSHOT"
:description "Facilities for async programming and communication in Clojure"
:url "https://github.com/clojure/core.async"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:parent [org.clojure/pom.contrib "1.2.0"]
:dependencies [[org.clojure/clojure "1.10.3"]
[org.clojure/tools.analyzer.jvm "1.3.0"]
[org.clojure/clojurescript "1.11.60" :scope "provided"]]
:global-vars {*warn-on-reflection* true}
:source-paths ["src/main/clojure"]
:test-paths ["src/test/clojure"]
:jvm-opts ^:replace ["-Xmx1g" "-server"]
:java-source-paths ["src/main/java"]
:profiles {:dev {:source-paths ["examples"]}}
:plugins [[lein-cljsbuild "1.1.8"]]
:clean-targets ["tests.js" "tests.js.map"
"out" "out-simp" "out-simp-node"
"out-adv" "out-adv-node"]
:cljsbuild
{:builds
[{:id "dev"
:source-paths ["src/test/cljs" "src/main/clojure/cljs"]
:compiler {:main cljs.core.async.test-runner
:asset-path "../out"
:optimizations :none
:output-to "tests.js"
:output-dir "out"}}
{:id "simple"
:source-paths ["src/test/cljs" "src/main/clojure/cljs"]
:compiler {:optimizations :simple
:pretty-print true
:static-fns true
:output-to "tests.js"
:output-dir "out-simp"}}
{:id "simple-node"
:source-paths ["src/test/cljs" "src/main/clojure/cljs"]
:notify-command ["node" "tests.js"]
:compiler {:optimizations :simple
:target :nodejs
:pretty-print true
:static-fns true
:output-to "tests.js"
:output-dir "out-simp-node"}}
{:id "adv"
:source-paths ["src/test/cljs" "src/main/clojure/cljs"]
:compiler {:optimizations :advanced
:pretty-print false
:output-dir "out-adv"
:output-to "tests.js"
:source-map "tests.js.map"}}
{:id "adv-node"
:source-paths ["src/test/cljs" "src/main/clojure/cljs"]
:compiler {:optimizations :advanced
:target :nodejs
:pretty-print false
:output-dir "out-adv-node"
:output-to "tests.js"
:source-map "tests.js.map"}}]})