forked from cemerick/url
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
37 lines (36 loc) · 1.96 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
(defproject com.cemerick/url "0.1.2-SNAPSHOT"
:description "Makes working with URLs in Clojure a little more pleasant."
:url "http://github.com/cemerick/url"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
[pathetic "0.5.0"]
[org.clojure/clojurescript "0.0-1835" :optional true]]
:source-paths ["src" "target/generated-src"]
:test-paths ["target/generated-test"]
:aliases {"cleantest" ["do" "clean," "cljx" "once," "test,"
"cljsbuild" "once," "cljsbuild" "test"]}
:profiles {:dev {:dependencies [[com.cemerick/clojurescript.test "0.0.4"]
[com.keminglabs/cljx "0.3.0"]
[com.cemerick/piggieback "0.0.5"]]
:plugins [[lein-cljsbuild "0.3.2"]
[com.keminglabs/cljx "0.3.0"]]
:repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl
cljx.repl-middleware/wrap-cljx]}}}
:cljx {:builds [{:source-paths ["src"]
:output-path "target/generated-src"
:rules :clj}
{:source-paths ["src"]
:output-path "target/generated-src"
:rules :cljs}
{:source-paths ["test"]
:output-path "target/generated-test"
:rules :clj}
{:source-paths ["test"]
:output-path "target/generated-test"
:rules :cljs}]}
:cljsbuild {:builds [{:source-paths ["target/generated-src" "target/generated-test"]
:compiler {:output-to "target/cljs/testable.js"}
:optimizations :whitespace
:pretty-print true}]
:test-commands {"unit-tests" ["runners/phantomjs.js" "target/cljs/testable.js"]}})