-
Notifications
You must be signed in to change notification settings - Fork 7
/
project.clj
34 lines (30 loc) · 1.45 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
(defproject pathetic "0.5.1"
:description "The missing path handling."
:dependencies [[org.clojure/clojure "1.5.1"]]
:source-paths ["target/generated-src"]
:test-paths ["target/generated-test"]
:plugins [[com.keminglabs/cljx "0.3.0"]
[lein-cljsbuild "0.3.2"]]
:hooks [cljx.hooks]
: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}]}
:profiles {:clojure1.4 {:dependencies [[org.clojure/clojure "1.4.0"]]}
:clojure1.5 {:dependencies [[org.clojure/clojure "1.5.1"]]}
:dev {:dependencies [[com.cemerick/clojurescript.test "0.0.4"]]}}
: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"]}})