-
Notifications
You must be signed in to change notification settings - Fork 149
/
project.clj
38 lines (33 loc) · 1.16 KB
/
project.clj
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
(defproject mori "0.5.0-SNAPSHOT"
:description "Persistent Data Structures for JavaScript"
:dependencies [[org.clojure/clojure "1.7.0"]
[org.clojure/clojurescript "0.0-3308" :classifier "aot"]]
:plugins [[lein-cljsbuild "1.0.5"]]
:clean-targets ["dev" "release" "target"]
:cljsbuild
{:builds
[;; mori
{:source-paths ["src"],
:id "dev",
:compiler
{:output-to "dev/mori.dev.js",
:output-dir "dev/"
:optimizations :simple
:cache-analysis true
:output-wrapper false
:pretty-print true}}
{:source-paths ["src"],
:id "release"
:compiler
{:optimizations :advanced
:output-dir "release"
:output-wrapper false
:pretty-print false
:verbose true
:modules
{:cljs-base {:entries #{cljs.core mori}
:output-to "release/build/mori.base.js"}
:mutable {:entries #{mori.mutable}
:output-to "release/build/mori.mutable.js"}
:extra {:entries #{clojure.data cljs.reader clojure.set mori.extra}
:output-to "release/build/mori.extra.js"}}}}]})