-
Notifications
You must be signed in to change notification settings - Fork 1
/
project.clj
43 lines (41 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
(defproject litmus "0.4.1"
:description "Testing library for Clojurescript"
:url "http://github.com/hsalokor/litmus"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:min-lein-version "2.0.0"
:scm {:url "git@github.com/hsalokor/litmus.git"}
:pom-addition [:developers [:developer
[:name "Harri Salokorpi"]
[:url "http://github.com/hsalokor/litmus"]
[:email "hsalokor@iki.fi"]
[:timezone "+3"]]]
:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojure/clojurescript "0.0-1909"]
[jayq "2.4.0"]]
:plugins [[lein-cljsbuild "0.3.3"]]
:hooks [leiningen.cljsbuild]
:cljsbuild {:test-commands {"unit" ["mocha-phantomjs" "resources/test.html"]}
:builds {:dev {:source-paths ["src/cljs"]
:compiler {:output-to "target/litmus.js"
:optimizations :whitespace
:externs ["src/cljs/externs/mocha.js"
"src/cljs/externs/chai.js"
"src/cljs/externs/jquery-1.9.js"]
:pretty-print true}}
:prod {:source-paths ["src/cljs"]
:jar true
:compiler {:output-to "target/litmus.js"
:optimizations :advanced
:externs ["src/cljs/externs/mocha.js"
"src/cljs/externs/chai.js"
"src/cljs/externs/jquery-1.9.js"]
:pretty-print true}}
:test {:source-paths ["src/cljs"
"test/cljs/"]
:compiler {:output-to "target/tests.js"
:optimizations :whitespace
:externs ["src/cljs/externs/mocha.js"
"src/cljs/externs/chai.js"
"src/cljs/externs/jquery-1.9.js"]
:pretty-print true}}}})