-
Notifications
You must be signed in to change notification settings - Fork 1
/
project.clj
34 lines (30 loc) · 1.58 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
(defproject turtle "0.0.1"
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.9.293"]
[com.google/clojure-turtle "0.3.0-SNAPSHOT"]
[re-frame "0.8.0"]
[garden "1.3.2"]
; rrb-vector is broken in latest cljs
; exclude it from fipp and include an alternative
[fipp "0.6.6" :exclusions [org.clojure/core.rrb-vector]]
[quantum/org.clojure.core.rrb-vector "0.0.12"]]
:plugins [[lein-figwheel "0.5.8"]
[lein-cljsbuild "1.1.4"]]
:figwheel {:server-port 3333
:reload-clj-files {:clj false
:cljc true}}
:cljsbuild {:builds [{:id "dev"
:source-paths ["src"]
:figwheel {:on-jsload "turtle.core/reload"}
:compiler {:main "turtle.core"
:asset-path "js/dev/out"
:output-to "resources/public/js/dev/turtle.js"
:output-dir "resources/public/js/dev/out"}}
{:id "prod"
:source-paths ["src"]
:compiler {:main "turtle.core"
:asset-path "./js/prod/out"
:output-to "resources/public/js/prod/turtle.js"
:output-dir "resources/public/js/prod/out"
:optimizations :simple
:pretty-print false}}]})