/
project.clj
53 lines (53 loc) · 2.83 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
(defproject sablono "0.1.2-SNAPSHOT"
:description "Lisp style templating for Facebook's React."
:url "http://github.com/r0man/sablono"
:author "Roman Scherer"
:min-lein-version "2.0.0"
:lein-release {:deploy-via :clojars}
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojure/clojurescript "0.0-2127"]]
:profiles {:dev {:dependencies [[com.keminglabs/cljx "0.3.1"]
[crate "0.2.3" :scope "dev"]
[prismatic/dommy "0.1.1"]]
:plugins [[com.cemerick/austin "0.1.3"]]
:repl-options {:nrepl-middleware [cljx.repl-middleware/wrap-cljx]}}}
:plugins [[com.cemerick/clojurescript.test "0.2.1"]
[com.keminglabs/cljx "0.3.1"]
[lein-cljsbuild "1.0.1"]]
:hooks [cljx.hooks leiningen.cljsbuild]
:cljx {:builds [{:source-paths ["src"]
:output-path "target/classes"
:rules :clj}
{:source-paths ["src"]
:output-path "target/classes"
:rules :cljs}
{:source-paths ["test"]
:output-path "target/test-classes"
:rules :clj}
{:source-paths ["test"]
:output-path "target/test-classes"
:rules :cljs}]}
:cljsbuild {:builds [{:id "test"
:source-paths ["test" "target/classes" "target/test-classes"]
:compiler {:output-to "target/test/sablono.js"
:output-dir "target/test"
:optimizations :whitespace
:pretty-print true
:preamble ["jquery.js"
"phantomjs-shims.js"
"sablono/react-with-addons-0.8.0.min.js"]
:externs ["sablono/externs/react.js"]
:closure-warnings {:non-standard-jsdoc :off}}}
{:id "dev"
:source-paths ["test" "target/classes" "target/test-classes"]
:compiler {:output-to "target/dev/sablono.js"
:output-dir "target/dev"
:optimizations :none
:pretty-print true
:source-map true
:externs ["sablono/externs/react.js"]
:closure-warnings {:non-standard-jsdoc :off}}}]
:test-commands {"phantom" ["phantomjs" :runner "target/test/sablono.js"]}}
:test-paths ["test" "target/test-classes"])