add scripts/deploy_local.sh
This commit is contained in:
parent
fa827a0f30
commit
f8752567a8
10
scripts/deploy_local.sh
Executable file
10
scripts/deploy_local.sh
Executable file
@ -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…
Reference in New Issue
Block a user