Skip to content

Instantly share code, notes, and snippets.

Last active Aug 29, 2015
What would you like to do?
:source-paths #{"src/cljs"}
:resource-paths #{"resources"}
:dependencies '[[adzerk/boot-cljs "0.0-2814-4" :scope "test"]
[adzerk/boot-cljs-repl "0.1.9" :scope "test"]
[adzerk/boot-reload "0.2.4" :scope "test"]
[pandeiro/boot-http "0.6.1" :scope "test"]
[cljsjs/jquery "1.9.0-0"]
[quil "2.2.5"]]) ;; <--- quil dep
'[adzerk.boot-cljs :refer [cljs]]
'[adzerk.boot-cljs-repl :refer [cljs-repl start-repl]]
'[adzerk.boot-reload :refer [reload]]
'[pandeiro.boot-http :refer [serve]])
(deftask build []
(comp (speak)
(deftask run []
(comp (serve)
(deftask production []
(task-options! cljs {:optimizations :advanced
;; pseudo-names true is currently required
;; hopefully fixed soon
:pseudo-names true})
(deftask development []
(task-options! cljs {:optimizations :none
:unified-mode true
:source-map true}
reload {:on-jsload '})
(deftask dev
"Simple alias to run application in development mode"
(comp (development)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment