Scittle dev (#127)
This commit is contained in:
parent
c57a5f9285
commit
cb968d06e3
6 changed files with 45 additions and 8 deletions
|
|
@ -69,4 +69,15 @@
|
|||
* :action - compile action, defaults to release, but may also be compile or watch"
|
||||
[{:keys [action
|
||||
args] :or {action "release"}}]
|
||||
(build* (format "-M -m shadow.cljs.devtools.cli --force-spawn %s main %s" action (str/join " " args))))
|
||||
(build* (format "-M -m shadow.cljs.devtools.cli --force-spawn %s main %s" action (str/join " " args)))
|
||||
(when (= "release" action)
|
||||
(println "Also building dev release build")
|
||||
(build* (format "-M -m shadow.cljs.devtools.cli --force-spawn %s main %s %s"
|
||||
action
|
||||
"--config-merge '{:compiler-options {:optimizations :simple
|
||||
:pretty-print true
|
||||
:pseudo-names true}
|
||||
:output-dir \"resources/public/js/dev\"
|
||||
:modules {:scittle.cljs-devtools.dev {:entries [scittle.cljs-devtools]
|
||||
:depends-on #{:scittle}}}}'"
|
||||
(str/join " " args)))))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue