don't make a spurious dir for remote deploy. fix docs.

This commit is contained in:
Colin McMillen 2019-10-04 09:53:56 -04:00
parent 2fe008a2e8
commit f07d0acad5
2 changed files with 1 additions and 2 deletions

View File

@ -19,7 +19,7 @@ SNES-like engine in JavaScript
* deploy to famicol.in: * deploy to famicol.in:
ssh mcmillen@famicol.in rm -rf 'famicolin/snej/*' && \ ssh mcmillen@famicol.in rm -rf 'famicolin/snej/*' && \
$SNEJ_ROOT/scripts/deploy.sh mcmillen@famicol.in:famicolin/snej $SNEJ_ROOT/scripts/deploy.sh famicol.in:famicolin/snej
* annotate sprites: * annotate sprites:

View File

@ -3,7 +3,6 @@
cd $SNEJ_ROOT cd $SNEJ_ROOT
echo "deploying to $1" echo "deploying to $1"
mkdir -p $1 || exit
mkdir -p bundle/ mkdir -p bundle/
python3 scripts/assets.py stitch-sprites $SNEJ_ROOT/bundle/spritesheet python3 scripts/assets.py stitch-sprites $SNEJ_ROOT/bundle/spritesheet
scp -r index.html main.js bundle/ $1 scp -r index.html main.js bundle/ $1