-
Notifications
You must be signed in to change notification settings - Fork 8
/
project.clj
73 lines (67 loc) · 3.36 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
63
64
65
66
67
68
69
70
71
72
73
(defproject kitchen-async "0.1.0-SNAPSHOT"
:description "A Promise library for ClojureScript, or a poor man's core.async"
:url "https://github.com/athos/kitchen-async"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.9.0" :scope "provided"]
[org.clojure/clojurescript "1.9.946" :scope "provided"]
[org.clojure/core.async "0.4.474"
:exclusions [org.clojure/tools.reader]]]
:plugins [[lein-cljsbuild "1.1.7"]
[lein-tach "0.4.0"]
[lein-doo "0.1.11"]]
:cljsbuild {:builds
[{:id "dev"
:source-paths ["src"]
:compiler {:output-to "target/dev/kitchen_async.js"
:output-dir "target/dev"
:optimizations :none
:pretty-print true}}
{:id "test"
:source-paths ["src" "test/common" "test/jvm"]
:compiler {:output-to "target/test/kitchen_async.js"
:output-dir "target/test"
:main kitchen-async.runner
:optimizations :whitespace}}
{:id "min-test"
:source-paths ["src" "test/common" "test/jvm"]
:compiler {:output-to "target/min-test/kitchen_async.js"
:output-dir "target/min-test"
:main kitchen-async.runner
:optimizations :advanced}}
{:id "node-test"
:source-paths ["src" "test/common" "test/jvm"]
:compiler {:output-to "target/node-test/kitchen_async.js"
:output-dir "target/node-test"
:main kitchen-async.runner
:target :nodejs
:optimizations :none}}
{:id "node-min-test"
:source-paths ["src" "test/common" "test/jvm"]
:compiler {:output-to "target/node-min-test/kitchen_async.js"
:output-dir "target/node-min-test"
:main kitchen-async.runner
:target :nodejs
:optimizations :advanced}}]}
:tach {:test-runner-ns 'kitchen-async.runner
:source-paths ["src" "test/common" "test/self-hosted"]
:force-non-zero-exit-on-test-failure? true
:cache? true
:cache-path "target/lumo-test"}
:doo {:karma
{:launchers {:chromium-headless {:plugin "karma-chrome-launcher"
:name "ChromiumWithoutSandbox"}}
:config {"customLaunchers"
{"ChromiumWithoutSandbox" {"base" "ChromiumHeadless"
"flags" ["--no-sandbox"]}}}}}
:profiles {:dev {:dependencies [[com.cemerick/piggieback "0.2.2"]
[doo "0.1.8"]]}}
:aliases {"test-all" ["do" ["test"] #_["test-lumo"] ["test-min"]]
"test" ["do"
["doo" "phantom" "test" "once"]
["doo" "node" "node-test" "once"]]
"test-lumo" ["tach" "lumo"]
"test-min" ["do"
["doo" "phantom" "min-test" "once"]
["doo" "node" "node-min-test" "once"]]}
)