forked from unclebob/spacewar
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.clj
41 lines (41 loc) · 1.81 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
(defproject spacewar "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.9.0"]
[org.clojure/clojurescript "1.10.439"]
[figwheel-sidecar "0.5.15"]
[org.clojure/test.check "0.10.0-alpha3"]
[quil "2.7.1"]
[org.clojure/math.combinatorics "0.1.4"]
[org.clojure/tools.reader "1.3.2"]]
:plugins [[lein-cljsbuild "1.1.7"]
[lein-figwheel "0.5.15"]]
:profiles {:dev {:dependencies [[midje "1.9.2"]]}
;; You can add dependencies that apply to `lein midje` below.
;; An example would be changing the logging destination for test runs.
;; Note that Midje itself is in the `dev` profile to support
;; running autotest in the repl.
:midje {}}
:main spacewar.core
:clean-targets ^{:protect false} [:target-path "resources/public/js"]
:cljsbuild
{:builds [; development build with figwheel hot swap
{:id "development"
:source-paths ["src"]
:figwheel true
:compiler
{:main "spacewar.core"
:output-to "resources/public/js/main.js"
:output-dir "resources/public/js/development"
:asset-path "js/development"}}
; minified and bundled build for deployment
{:id "optimized"
:source-paths ["src"]
:compiler
{:main "spacewar.core"
:output-to "resources/public/js/main.js"
:output-dir "resources/public/js/optimized"
:asset-path "js/optimized"
:optimizations :advanced}}]})