add clojurescript dep and update clojure dep to 1.7.0, fix cljsbuild definition

This commit is contained in:
Nathan Marz 2015-06-30 19:53:17 -04:00
parent 38fed4a7d0
commit 784fb9fb8d

View file

@ -1,7 +1,9 @@
(def VERSION (.trim (slurp "VERSION"))) (def VERSION (.trim (slurp "VERSION")))
(defproject com.rpl/specter VERSION (defproject com.rpl/specter VERSION
:dependencies [[org.clojure/clojure "1.7.0-RC2"] :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"]
] ]
:jvm-opts ["-XX:-OmitStackTraceInFastThrow"] ; this prevents JVM from doing optimizations which can remove stack traces from NPE and other exceptions :jvm-opts ["-XX:-OmitStackTraceInFastThrow"] ; this prevents JVM from doing optimizations which can remove stack traces from NPE and other exceptions
:plugins [[lein-cljsbuild "1.0.6"]] :plugins [[lein-cljsbuild "1.0.6"]]
@ -11,9 +13,12 @@
[[org.clojure/test.check "0.7.0"]]} [[org.clojure/test.check "0.7.0"]]}
} }
:cljsbuild { :cljsbuild {
:builds [{ :builds {:dev
:source-paths ["src"] {:source-paths ["src"]
:test-paths ["test"]
:compiler { :compiler {
:output-to "target/cljsbuild-main.js"}}] :output-to "target/main.js"
:optimizations :whitespace
:pretty-print true
}}
}
}) })