/
project.clj
99 lines (99 loc) · 5.74 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
(defproject klipse "3.1.7"
:description "Cljs compiler in cljs"
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.9.229"]
[org.clojure/core.async "0.2.385"]
[binaryage/devtools "0.8.2"]
[im.chit/purnam "0.5.2"]
[cljsjs/markdown "0.6.0-beta1-0"]
[org.clojure/core.match "0.3.0-alpha4"]
[cljs-http "0.1.41"]
[viebel/gadjett "0.2.1"]
[org.omcljs/om "1.0.0-alpha41"]
[replumb "0.2.4-SNAPSHOT"]
[fipp "0.6.6"]
[rewrite-cljs "0.4.1"]
[com.cemerick/url "0.1.1"]
[cljsjs/codemirror "5.11.0-2"]
[devcards "0.2.1-7"]
[devcards-om-next "0.2.0"]]
:profiles {:dev {:dependencies [[figwheel-sidecar "0.5.4-7"]] }}
:jvm-opts ["-Xms356M" "-Xmx1G"]
:clean-targets ^{:protect false} ["resources/public/dev/js"
"resources/public/plugin_prod/js"
"resources/public/plugin/js"]
:plugins [[lein-cljsbuild "1.1.1"]
[lein-doo "0.1.6"]]
:source-paths ["src" "scripts"]
:cljsbuild {
:builds {
:test {
:source-paths ["test" "src/klipse/cards/test"]
:compiler {
:output-to "resources/private/test/klipse.testable.js"
:output-dir "resources/private/test"
:verbose false
:optimizations :whitespace }}
:app {
:source-paths ["src/klipse/run/app" "resources/public/lib"]
:compiler {
:preamble ["mirror_extensions.js"]
:output-to "resources/public/dev/js/klipse.js"
:output-dir "resources/public/dev/js"
:pretty-print false
:optimize-constants true
:static-fns true
;:elide-asserts true
:optimizations :whitespace
:verbose false}}
:plugin {
:source-paths ["src/klipse/run/plugin" "resources/public/lib"]
:compiler {
:preamble ["mirror_extensions.js"]
:output-to "resources/public/plugin/js/klipse_plugin.js"
:output-dir "resources/public/plugin/js"
:pretty-print false
:optimize-constants true
:static-fns true
;:elide-asserts true
:optimizations :whitespace
:verbose false}}
:plugin-prod {
:source-paths ["src/klipse/run/plugin_prod" "resources/public/lib"]
:compiler {
:preamble ["mirror_extensions.js"]
:output-to "resources/public/plugin_prod/js/klipse_plugin.min.js"
:output-dir "resources/public/plugin_prod/js"
:pretty-print true
:elide-asserts false
:optimizations :advanced
:verbose true}}
:cache {
:source-paths ["cache-src"]
:compiler {;:main "klipse.run.all"
:asset-path "cache/js"
:output-to "resources/public/cache/js/klipse.cache.js"
:output-dir "resources/public/cache/js"
:verbose true
:optimizations :none
}}
:figwheel {
:figwheel true
:source-paths ["src"]
:compiler {:main "klipse.run.all"
:preamble ["mirror_extensions.js"]
:asset-path "fig/js"
:output-to "resources/public/fig/js/klipse.fig.js"
:output-dir "resources/public/fig/js"
;:elide-asserts true
:verbose false}}
:devcards {
:figwheel { :devcards true }
:source-paths ["src"]
:compiler {:main "klipse.cards.cards"
:asset-path "cards/js"
:output-to "resources/public/cards/js/klipse.js"
:output-dir "resources/public/cards/js"
;:elide-asserts true
:verbose false}}
}})