Browse Source

add scripts/deploy_local.sh

main
Colin McMillen 5 years ago
parent
commit
f8752567a8
  1. 10
      scripts/deploy_local.sh

10
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!"
Loading…
Cancel
Save