/
project.clj
35 lines (32 loc) · 1.57 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
(defproject logo "0.1.0-SNAPSHOT"
:description "FIXME: write description"
:url "http://example.com/FIXME"
:license {:name "Eclipse Public License"
:url "http://www.eclipse.org/legal/epl-v10.html"}
:dependencies [[org.clojure/clojure "1.8.0"]
[quil "2.6.0"]
[cljsjs/matter "0.9.1-0"]
[org.clojure/clojurescript "1.9.473"]]
:plugins [[lein-cljsbuild "1.1.5"]
[lein-figwheel "0.5.9"]]
:hooks [leiningen.cljsbuild]
:cljsbuild
{:builds {:main {:source-paths ["src"]
:compiler
{:output-to "resources/public/js/main.js"
:output-dir "resources/public/js/out"
:asset-path "js/out"
:main "logo.core"}}}
}
:profiles {:dev {:dependencies [[binaryage/devtools "0.7.2"]]
:cljsbuild {
:builds {
:main {:figwheel true
:compiler {:optimizations :none
:source-map true
;; namespace to load before the `:main` namespace
:preloads [devtools.preload]}}}}}
;; `prod` key is not known to lein, choose any you want
:prod {:cljsbuild {:builds {:main {:compiler {:optimizations :advanced
:pretty-print false}}}}}}
)