-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.clj
43 lines (43 loc) · 1.86 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
(defproject dds.js "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Apache License Version 2.0"
:url "https://www.apache.org/licenses/LICENSE-2.0"}
:dependencies [[org.clojure/clojure "1.7.0"]
[org.clojure/clojurescript "1.7.170"]
[prismatic/schema "1.0.4"]
[prismatic/plumbing "0.5.2"]
[com.lucasbradstreet/cljs-uuid-utils "1.0.2"]]
:figwheel {:css-dirs ["resources/public/css"]}
:profiles
{:dev {:dependencies [[devcards "0.2.1"]]
:plugins [[lein-ancient "0.6.8"]
[lein-cljsbuild "1.1.1"]
[lein-figwheel "0.5.0-1"]
[lein-asset-minifier "0.2.4"]]
:source-paths ["src/cljs/" "src-dev/cljs"]}}
:cljsbuild
{:builds
[{:id "dev"
:source-paths ["src/cljs/" "src-dev/cljs"]
:figwheel {:devcards true}
:compiler {:output-to "resources/public/js/dev/compiled/dds.js"
:output-dir "resources/public/js/dev/compiled/out"
:asset-path "js/dev/compiled/out"
:main "dds.devcards"
:optimizations :none
:source-map true}}
{:id "release"
:source-paths ["src/cljs/"]
:compiler {:output-to "resources/public/js/release/dds.intermediate.js"
:output-dir "resources/public/js/release/out"
:pretty-print false
:whitespace false
:optimizations :advanced
:externs ["resources/externs/d3.js"
"resources/externs/d3tip.js"
"resources/externs/c3.js"
"resources/externs/slick.grid.externs.js"]}
:notify-command ["scripts/build.sh"]}]}
:minify-assets
{:assets {"resources/public/css/dds.min.css" "resources/public/css/dds"}})