Added cljsbuild support
This commit is contained in:
parent
6b0a907fff
commit
2404445827
1 changed files with 9 additions and 1 deletions
10
project.clj
10
project.clj
|
|
@ -4,8 +4,16 @@
|
|||
:dependencies [[org.clojure/clojure "1.7.0-RC2"]
|
||||
]
|
||||
: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"]]
|
||||
:hooks [leiningen.cljsbuild]
|
||||
:source-paths ["src"]
|
||||
:test-paths ["test/clj"]
|
||||
:profiles {:dev {:dependencies
|
||||
[[org.clojure/test.check "0.5.9"]]}
|
||||
})
|
||||
}
|
||||
:cljsbuild {
|
||||
:builds [{
|
||||
:source-paths ["src"]
|
||||
:compiler {
|
||||
:output-to "target/cljsbuild-main.js"}}]
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue