specter/project.clj
Josh Tilles 61f5a0a09a Adapt the test instructions to cljx.
The alias is taken from [the cljx README](20ec61792b (installation)).
2015-10-09 15:08:08 -04:00

29 lines
1.5 KiB
Clojure

(def VERSION (.trim (slurp "VERSION")))
(defproject com.rpl/specter VERSION
:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/clojurescript "0.0-3211"]
]
:jvm-opts ["-XX:-OmitStackTraceInFastThrow"] ; this prevents JVM from doing optimizations which can remove stack traces from NPE and other exceptions
:source-paths ["src"]
:test-paths ["test", "target/test-classes"]
:profiles {:dev {:dependencies
[[org.clojure/test.check "0.7.0"]]
:plugins
[[com.keminglabs/cljx "0.6.0"]]
: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}]}
:aliases {"cleantest" ["do" "clean,"
"cljx" "once,"
"test"]}}
})