forked from dribnet/mrhyde
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
36 lines (33 loc) · 1.84 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
(defproject net.drib/mrhyde "0.5.4-SNAPSHOT"
:description "mrhyde: cljs <-> js interop"
:url "https://github.com/dribnet/mrhyde"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.6.0"]
[org.clojure/clojurescript "0.0-2665"]]
:min-lein-version "2.0.0"
:source-paths ["src/clj" "src/cljs"]
:plugins [[lein-cljsbuild "0.3.3"]]
:cljsbuild {:builds [{:source-paths ["src/cljs" "src/clj"]
:jar true}
; tests - 3 different optimizations
{:source-paths ["src/cljs" "src/clj" "test/cljs"]
:compiler {:optimizations :whitespace
:pretty-print true
:print-input-delimiter true
:output-to "public/out/mrhyde_test_whitespace.js"}}
{:source-paths ["src/cljs" "src/clj" "test/cljs"]
:compiler {:optimizations :simple
:pretty-print true
:print-input-delimiter true
:output-to "public/out/mrhyde_test_simple.js"}}
{:source-paths ["src/cljs" "src/clj" "test/cljs"]
:compiler {:optimizations :advanced
:externs [
"public/d3/d3-externs.js"
"public/dummylib/dummylib-externs.js"
]
:pretty-print true
:print-input-delimiter true
:output-to "public/out/mrhyde_test_advanced.js"}}
]})