forked from noprompt/garden
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
38 lines (38 loc) · 2.08 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
(defproject garden "1.1.4-SNAPSHOT"
:description "Generate CSS from Clojure data structures."
:url "https://github.com/noprompt/garden"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:source-paths ["src/clj" "target/generated-src/clj" "target/generated-src/cljs"]
:test-paths ["test" "target/generated-test"]
:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojure/clojurescript "0.0-1934"]
[com.yahoo.platform.yui/yuicompressor "2.4.7"]]
:plugins [[codox "0.6.4"]
[lein-cljsbuild "0.3.4"]
[com.keminglabs/cljx "0.3.0"]
[com.cemerick/clojurescript.test "0.1.0"]]
:profiles {:dev {:dependencies [[criterium "0.4.1"]
[com.cemerick/piggieback "0.1.0"]
[com.keminglabs/cljx "0.3.0"]]
:plugins [[com.cemerick/austin "0.1.1"]]
:repl-options {:nrepl-middleware [cemerick.piggieback/wrap-cljs-repl
cljx.repl-middleware/wrap-cljx]}}}
:aliases {"test-all" ["do" "clean," "cljx" "once," "test," "cljsbuild" "test"]}
:cljx {:builds [{:source-paths ["src/cljx"]
:output-path "target/generated-src/clj"
:rules :clj}
{:source-paths ["src/cljx"]
:output-path "target/generated-src/cljs"
: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/cljs" "target/generated-test"]
:compiler {:output-to "target/cljs/testable.js"
:optimizations :whitespace
:pretty-print true}}]
:test-commands {"unit-tests" ["phantomjs" :runner "target/cljs/testable.js"]}})