forked from fhd/clostache
-
Notifications
You must be signed in to change notification settings - Fork 17
/
project.clj
43 lines (35 loc) · 1.85 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 cljstache "2.0.7-SNAPSHOT"
:min-lein-version "2.5.2"
:description "{{ mustache }} for Clojure[Script]"
:url "http://github.com/fotoetienne/cljstache"
:license {:name "GNU Lesser General Public License 2.1"
:url "http://www.gnu.org/licenses/lgpl-2.1.txt"
:distribution :repo}
:jvm-opts ["-Xmx1g"]
:dependencies []
:profiles {:dev {:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/data.json "0.2.6"]]
:resource-paths ["test-resources"]}
:1.7 {:dependencies [[org.clojure/clojure "1.7.0"]]}
:1.8 {:dependencies [[org.clojure/clojure "1.8.0"]]}
:1.9 {:dependencies [[org.clojure/clojure "1.9.0"]]}
:1.10 {:dependencies [[org.clojure/clojure "1.10.1"]]}
:cljs {:dependencies [[org.clojure/clojure "1.10.1"]
[org.clojure/clojurescript "1.10.520"]]
:plugins [[lein-cljsbuild "1.1.7"]
[lein-doo "0.1.10"]]}}
:aliases {"with-clj" ["with-profile" "dev:dev,1.7:dev,1.8:dev,1.9"]
"with-cljs" ["with-profile" "cljs"]
"test-clj" ["with-clj" "test"]
"test-cljs" ["with-cljs" "doo" "nashorn" "test" "once"]
"test-all" ["do" "clean," "test-clj," "test-cljs"]
"deploy" ["do" "clean," "deploy" "clojars"]}
:jar-exclusions [#"\.swp|\.swo|\.DS_Store"]
:doo {:paths {:rhino "lein run -m org.mozilla.javascript.tools.shell.Main"}}
:global-vars {*warn-on-reflection* true}
:clean-targets [:target-path "out"]
:cljsbuild {:builds
{:test {:source-paths ["src" "test"]
:compiler {:output-to "target/unit-test.js"
:main 'cljstache.runner
:optimizations :whitespace}}}})