diff --git a/scripts/deploy_local.sh b/scripts/deploy_local.sh new file mode 100755 index 0000000..02d79e8 --- /dev/null +++ b/scripts/deploy_local.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +cd $SNEJ_ROOT + +echo "deploying to $1" +mkdir -p $1 || exit +mkdir -p bundle/ +python3 scripts/assets.py stitch-sprites $SNEJ_ROOT/bundle/spritesheet +cp -r index.html main.js bundle/ $1 +echo "success!"