-
Notifications
You must be signed in to change notification settings - Fork 37
/
project.clj
37 lines (30 loc) · 1.44 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
(defproject flappy-bird-demo "0.1.1-SNAPSHOT"
:description "The original figwheel flappybird demo"
:url "http://rigsomelight.com/2014/05/01/interactive-programming-flappy-bird-clojurescript.html"
:dependencies [[org.clojure/clojure "1.9.0"]
[org.clojure/clojurescript "1.10.312"]
[org.clojure/core.async "0.3.442"]
[cljsjs/react-dom-server "15.3.1-0"] ;; for sablono
[cljsjs/react-dom "15.3.1-0"] ;; for sablono
[cljsjs/react "15.3.1-0"] ;; for sablono
[sablono "0.7.5"]]
:plugins [[lein-cljsbuild "1.1.4"
:exclusions [org.clojure/clojure]]
[lein-figwheel "0.5.16"]]
:clean-targets ^{:protect false} ["resources/public/js/out"
"resources/public/js/flappy_bird_demo.js"
:target-path]
:source-paths ["src"]
:cljsbuild {
:builds [{:id "flappy-bird-demo"
:source-paths ["src"]
:figwheel true
:compiler {
:main flappy-bird-demo.core
:asset-path "js/out"
:output-to "resources/public/js/flappy_bird_demo.js"
:output-dir "resources/public/js/out"
:source-map-timestamp true}}]}
:figwheel { :css-dirs ["resources/public/css"]
:open-file-command "emacsclient"
})