Created
January 9, 2021 06:42
-
-
Save bfollington/7aaeac496451533504e912da8409ab64 to your computer and use it in GitHub Desktop.
Release cljs build in itch compatible format
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# run `lein uberjar` before releasing | |
echo "preparing..." | |
mkdir -p ./dist/js | |
mkdir -p ./dist/css | |
mkdir -p ./dist/assets | |
echo "copying files..." | |
cp ./target/cljsbuild/public/js/app.js ./dist/js/app.js | |
cp -r ./resources/public/css ./dist | |
cp -r ./resources/public/assets ./dist | |
cp ./resources/public/index.html ./dist | |
echo "packaging..." | |
zip -r dist.zip ./dist | |
echo "uploading..." | |
butler push dist.zip twopm/in-passing:web | |
echo "done!" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment