2015-06-22 18:37:16 +00:00
|
|
|
(def VERSION (.trim (slurp "VERSION")))
|
|
|
|
|
|
|
|
|
|
(defproject com.rpl/specter VERSION
|
2015-06-30 23:53:17 +00:00
|
|
|
: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"]
|
2015-06-26 17:35:18 +00:00
|
|
|
:test-paths ["test"]
|
2015-02-26 15:55:20 +00:00
|
|
|
:profiles {:dev {:dependencies
|
2015-06-30 21:08:05 +00:00
|
|
|
[[org.clojure/test.check "0.7.0"]]}
|
2015-06-24 22:37:58 +00:00
|
|
|
}
|
|
|
|
|
:cljsbuild {
|
2015-06-30 23:53:17 +00:00
|
|
|
:builds {:dev
|
|
|
|
|
{:source-paths ["src"]
|
|
|
|
|
:compiler {
|
|
|
|
|
:output-to "target/main.js"
|
|
|
|
|
:optimizations :whitespace
|
|
|
|
|
:pretty-print true
|
|
|
|
|
}}
|
|
|
|
|
}
|
2015-06-24 22:37:58 +00:00
|
|
|
})
|