specter/project.clj

25 lines
907 B
Clojure
Raw Normal View History

(def VERSION (.trim (slurp "VERSION")))
(defproject com.rpl/specter VERSION
:dependencies [[org.clojure/clojure "1.7.0"]
;;TODO: how to make this a dep of only the cljs version?
[org.clojure/clojurescript "0.0-3308"]
2015-02-26 15:55:20 +00:00
]
:jvm-opts ["-XX:-OmitStackTraceInFastThrow"] ; this prevents JVM from doing optimizations which can remove stack traces from NPE and other exceptions
2015-06-24 22:37:58 +00:00
:plugins [[lein-cljsbuild "1.0.6"]]
2015-06-24 18:28:33 +00:00
:source-paths ["src"]
:test-paths ["test"]
2015-02-26 15:55:20 +00:00
:profiles {:dev {:dependencies
[[org.clojure/test.check "0.7.0"]]}
2015-06-24 22:37:58 +00:00
}
:cljsbuild {
:builds {:dev
{:source-paths ["src"]
:compiler {
:output-to "target/main.js"
:optimizations :whitespace
:pretty-print true
}}
}
2015-06-24 22:37:58 +00:00
})