forked from dribnet/strokes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
54 lines (49 loc) · 2.81 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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
(defproject net.drib/strokes "0.5.2-SNAPSHOT"
:description "strokes: d3 from clojurescript"
:url "https://github.com/dribnet/strokes"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.5.1"]
[org.clojure/clojurescript "0.0-1878"]
[net.drib/mrhyde "0.5.3"]]
:min-lein-version "2.0.0"
:source-paths ["src/cljs"]
:plugins [[lein-cljsbuild "0.3.3"]]
:cljsbuild {:builds [{:source-paths ["src/cljs"]
:jar true}
; tests
{:source-paths ["src/cljs" "test/cljs"]
:compiler {:optimizations :whitespace
:pretty-print true
:print-input-delimiter true
:output-to "public/out/strokes_test_whitespace.js"}}
{:source-paths ["src/cljs" "test/cljs"]
:compiler {:optimizations :simple
:pretty-print true
:print-input-delimiter true
:output-to "public/out/strokes_test_simple.js"}}
{:source-paths ["src/cljs" "test/cljs"]
:compiler {:optimizations :advanced
:externs ["public/d3/d3-externs.js"]
:pretty-print true
:print-input-delimiter true
:output-to "public/out/strokes_test_advanced.js"}}
; strokes "internal" examples
{:source-paths ["examples/strokes/clocky"]
:compiler {:optimizations :simple
:pretty-print false
:output-to "public/out/strokes-clocky.js"}}
{:source-paths ["examples/strokes/hull"]
:compiler {:optimizations :advanced
:externs ["public/d3/d3-externs.js"]
:pretty-print false
:output-to "public/out/strokes-hull.js"}}
{:source-paths ["examples/strokes/quadtree"]
:compiler {:optimizations :simple
:pretty-print false
:output-to "public/out/strokes-quadtree.js"}}
{:source-paths ["examples/strokes/circle-pack"]
:compiler {:optimizations :simple
:pretty-print false
:output-to "public/out/strokes-circle-pack.js"}}
]})