Clean by default before building dev or prod

This commit is contained in:
Jeremy Dormitzer 2018-02-16 12:04:23 -05:00
parent d39a36988c
commit c144fc17d5
No known key found for this signature in database
GPG Key ID: 04F17C0F5A32C320

View File

@ -1,10 +1,10 @@
dev : dev : clean
mkdir -p ext mkdir -p ext
cp -R resources/shared/* resources/dev/* ext/ cp -R resources/shared/* resources/dev/* ext/
lein cljsbuild once content lein cljsbuild once content
lein figwheel background sidebar lein figwheel background sidebar
prod : prod : clean
mkdir -p ext mkdir -p ext
cp -R resources/shared/* resources/prod/* ext/ cp -R resources/shared/* resources/prod/* ext/
lein with-profile prod cljsbuild once lein with-profile prod cljsbuild once