add cookbook for some shell-y things

This commit is contained in:
Colin McMillen 2019-10-04 09:40:05 -04:00 committed by GitHub
parent 62f850a413
commit 50644027e0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,2 +1,30 @@
# snej # snej
SNES-like engine in JavaScript SNES-like engine in JavaScript
## cookbook
* set up environment in bashrc:
export SNEJ_ROOT=~/snej
* lint:
$SNEJ_ROOT/scripts/lint.sh
* deploy locally:
rm -rf ~/deploy/* && $SNEJ_ROOT/scripts/deploy.sh ~/deploy/
* deploy to famicol.in:
ssh mcmillen@famicol.in rm -rf 'famicolin/snej/*' && \
$SNEJ_ROOT/scripts/deploy.sh mcmillen@famicol.in:famicolin/snej
* annotate sprites:
python3 $SNEJ_ROOT/scripts/assets.py annotate-sprites
* stitch sprites:
python3 $SNEJ_ROOT/scripts/assets.py \
stitch-sprites $SNEJ_ROOT/bundle/spritesheet