looped-in/Makefile

22 lines
447 B
Makefile
Raw Normal View History

dev :
lein cljsbuild once
mkdir -p ext
cp -R resources/shared/* resources/dev/* ext/
prod :
lein with-profile prod cljsbuild once
mkdir -p ext
cp -R resources/shared/* resources/prod/* ext/
rm -rf ext/js/generated/out-*
package : clean prod
(cd ext; zip -r looped-in.zip * -x "*.DS_Store")
mkdir -p dist
mv ext/looped-in.zip dist
clean :
rm -rf resources/dev/js/generated
rm -rf resources/prod/js/generated
rm -rf ext
rm -rf dist