grub-fork/scripts/build.sh
Nicholas Kariniemi 830451372a Build releases via lein uberjar
- Run scripts/build.sh to build JAR from scratch.
- Added better fix for lein cljx/reloaded workflow conflict
2014-11-29 16:22:15 +02:00

19 lines
392 B
Bash
Executable file

#!/bin/bash
echo "# Removing old builds"
rm -rf target
rm resources/public/js/grub.js
rm resources/public/js/grub.min.js
rm -rf resources/public/js/out
echo ""
echo "$ lein cljx"
lein cljx &&
echo "" &&
echo "$ lein cljsbuild once dev" &&
lein cljsbuild once dev &&
echo "" &&
echo "$ lein cljsbuild once prod" &&
lein cljsbuild once prod &&
echo "" &&
echo "$ lein uberjar" &&
lein uberjar