-
Notifications
You must be signed in to change notification settings - Fork 6
/
project.clj
106 lines (94 loc) · 4.42 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
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
(defproject rid3 "0.2.2"
:description "Reagent Interface to D3"
:url "https://github.com/gadfly361/rid3"
:license {:name "MIT"}
:scm {:name "git"
:url "https://github.com/gadfly361/rid3"}
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.9.229"]
[reagent "0.6.1"]
[cljsjs/d3 "4.3.0-4"]]
:min-lein-version "2.5.3"
:source-paths ["src/main"]
:plugins [[lein-cljsbuild "1.1.4"]]
:clean-targets ^{:protect false} ["dev-resources/public/js"
"target"]
:profiles
{:dev
{:dependencies [[binaryage/devtools "0.8.2"]
[re-frisk "0.3.1"]
[garden "1.3.2"]
[etaoin "0.2.7"]]
:plugins [[lein-figwheel "0.5.10"]
[lein-externs "0.1.6"]]}}
:cljsbuild
{:builds
[;; basics
{:id "basics-dev"
:source-paths ["src/basics" "src/main" "src/version"]
:figwheel {:on-jsload "rid3.basics/reload"}
:compiler {:main rid3.basics
:optimizations :none
:output-to "dev-resources/public/js/basics-dev.js"
:output-dir "dev-resources/public/js/basics-dev"
:asset-path "js/basics-dev"
:source-map-timestamp true
:preloads [devtools.preload]
:external-config
{:devtools/config
{:features-to-install [:formatters :hints]
:fn-symbol "F"
:print-config-overrides true}}}}
{:id "basics-min"
:source-paths ["src/basics" "src/main" "src/version"]
:compiler {:main rid3.basics
:optimizations :advanced
:output-to "dev-resources/public/js/basics.js"
:output-dir "dev-resources/public/js/basics-min"
:externs ["externs.js"]
:elide-asserts true
:closure-defines {goog.DEBUG false}
:pretty-print false}}
;; examples
{:id "examples-dev"
:source-paths ["src/examples" "src/main" "src/version"]
:figwheel {:on-jsload "rid3.examples/reload"}
:compiler {:main rid3.examples
:optimizations :none
:output-to "dev-resources/public/js/examples-dev.js"
:output-dir "dev-resources/public/js/examples-dev"
:asset-path "js/examples-dev"
:source-map-timestamp true
:preloads [devtools.preload]
:external-config
{:devtools/config
{:features-to-install [:formatters :hints]
:fn-symbol "F"
:print-config-overrides true}}}}
{:id "examples-min"
:source-paths ["src/examples" "src/main" "src/version"]
:compiler {:main rid3.examples
:optimizations :advanced
:output-to "dev-resources/public/js/examples.js"
:output-dir "dev-resources/public/js/examples-min"
:externs ["externs.js"]
:elide-asserts true
:closure-defines {goog.DEBUG false}
:pretty-print false}}
;; integration
{:id "integration-dev"
:source-paths ["src/integration" "src/main" "src/version"]
:figwheel {:on-jsload "rid3.integration/reload"}
:compiler {:main rid3.integration
:optimizations :none
:output-to "dev-resources/public/js/integration.js"
:output-dir "dev-resources/public/js/integration-dev"
:asset-path "js/integration-dev"
:source-map-timestamp true
:preloads [devtools.preload]
:external-config
{:devtools/config
{:features-to-install [:formatters :hints]
:fn-symbol "F"
:print-config-overrides true}}}}
]})