-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathproject.clj
32 lines (29 loc) · 1.45 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
(defproject dots "0.1.0-SNAPSHOT"
:description "A game written using ClojureScript and core.async"
:url ""
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.8.0"]
[org.clojure/clojurescript "1.7.228"]
[org.clojure/core.async "0.2.374"]
;; for todos async
[jayq "2.4.0"]
[crate "0.2.5"]]
:clean-targets ^{:protect false} ["resources/public/js/compiled" "target"]
:plugins [[lein-cljsbuild "1.1.3"]
[lein-figwheel "0.5.2"]]
:cljsbuild {
:builds [{:id "dev"
:source-paths ["src"]
:figwheel true
:compiler {:main "dots.core"
:asset-path "js/compiled/dev-out"
:output-to "resources/public/js/compiled/dots.js"
:output-dir "resources/public/js/compiled/dev-out"
:source-map true
:optimizations :none}}
{:id "prod"
:source-paths ["src"]
:compiler {:output-to "resources/public/js/compiled/dots.js"
:externs ["resources/public/js/externs/jquery-1.9.js"]
:optimizations :advanced }}]})