-
Notifications
You must be signed in to change notification settings - Fork 32
/
Copy pathproject.clj
101 lines (92 loc) · 6.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
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
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
(defproject com.cemerick/clojurescript.test "0.3.4-SNAPSHOT"
:description "Port of clojure.test targeting ClojureScript."
:url "http://github.com/cemerick/clojurescript.test"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:min-lein-version "2.0.0"
:test-paths ["target/generated/clj"]
:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/clojurescript "0.0-2411"]]
:cljsbuild {:builds [{:source-paths ["src" "test" "target/generated/cljs"]
:compiler {:output-to "target/cljs/whitespace.js"
:optimizations :whitespace
:pretty-print true}}
{:source-paths ["src" "test" "target/generated/cljs"]
:compiler {:output-to "target/cljs/simple.js"
:optimizations :simple
:pretty-print true}}
{:source-paths ["src" "test" "target/generated/cljs"]
:compiler {:output-to "target/cljs/advanced.js"
:optimizations :advanced
:pretty-print true}}]
:test-commands {"slimer-whitespace" ["xvfb-run" "-a" "slimerjs" :runner
"window.literal_js_was_evaluated=true"
"target/cljs/whitespace.js"
"test/cemerick/cljs/test/extra_test_command_file.js"]
"slimer-simple" ["xvfb-run" "-a" "slimerjs" :runner
"window.literal_js_was_evaluated=true"
"target/cljs/simple.js"
"test/cemerick/cljs/test/extra_test_command_file.js"]
"slimer-advanced" ["xvfb-run" "-a" "slimerjs" :runner
"window.literal_js_was_evaluated=true"
"target/cljs/advanced.js"
"test/cemerick/cljs/test/extra_test_command_file.js"]
"phantom-whitespace" ["phantomjs" :runner
"window.literal_js_was_evaluated=true"
"target/cljs/whitespace.js"
"test/cemerick/cljs/test/extra_test_command_file.js"]
"phantom-simple" ["phantomjs" :runner
"window.literal_js_was_evaluated=true"
"target/cljs/simple.js"
"test/cemerick/cljs/test/extra_test_command_file.js"]
"phantom-advanced" ["phantomjs" :runner
"window.literal_js_was_evaluated=true"
"target/cljs/advanced.js"
"test/cemerick/cljs/test/extra_test_command_file.js"]
; Rhino tests
"rhino-whitespace" ["rhino" "-opt" "-1" :rhino-runner
"this.literal_js_was_evaluated=true "
"target/cljs/whitespace.js"
"test/cemerick/cljs/test/extra_test_command_file.js"]
"rhino-simple" ["rhino" "-opt" "-1" :rhino-runner
"this.literal_js_was_evaluated=true"
"target/cljs/simple.js"
"test/cemerick/cljs/test/extra_test_command_file.js"]
"rhino-advanced" ["rhino" "-opt" "-1" :rhino-runner
"this.literal_js_was_evaluated=true"
"target/cljs/advanced.js"
"test/cemerick/cljs/test/extra_test_command_file.js"]
; node tests
"node-simple" ["node" :node-runner
"this.literal_js_was_evaluated=true"
"target/cljs/simple.js"
"test/cemerick/cljs/test/extra_test_command_file.js"]
"node-advanced" ["node" :node-runner
"this.literal_js_was_evaluated=true"
"target/cljs/advanced.js"
"test/cemerick/cljs/test/extra_test_command_file.js"]}}
:cljx {:builds [{:source-paths ["test"]
:output-path "target/generated/clj"
:rules :clj}
{:source-paths ["test"]
:output-path "target/generated/cljs"
:rules :cljs}]}
:profiles {:dev {:dependencies [[org.clojure/core.async "0.1.346.0-17112a-alpha"]]
:plugins [[lein-cljsbuild "1.0.3"]
[com.keminglabs/cljx "0.5.0"]
[com.cemerick/austin "0.1.5-SNAPSHOT"]]}
; self-reference and chained `lein install; lein test` invocation
; needed to use the project as its own plugin. Leiningen :-(
:self-plugin [:default {:plugins [[com.cemerick/clojurescript.test "0.3.4-SNAPSHOT"]]}]}
:aliases {"cleantest" ["with-profile" "self-plugin"
"do" "clean," "cljx" "once," "test," "cljsbuild" "test"]
"release" ["do" "clean," "deploy" "clojars," "deploy"]}
:deploy-repositories {"releases" {:url "https://oss.sonatype.org/service/local/staging/deploy/maven2/" :creds :gpg}
"snapshots" {:url "https://oss.sonatype.org/content/repositories/snapshots/" :creds :gpg}}
;;maven central requirements
:scm {:url "[email protected]:cemerick/clojurescript.test.git"}
:pom-addition [:developers [:developer
[:name "Chas Emerick"]
[:url "http://cemerick.com"]
[:email "[email protected]"]
[:timezone "-5"]]])