bevyjam/build-itchio.sh

16 lines
415 B
Bash
Raw Normal View History

2022-08-28 20:14:59 +00:00
# WASM
2022-08-27 16:56:54 +00:00
sh build-wasm.sh || exit 1
mkdir -p target/itchio/wasm/target
mkdir -p target/itchio/wasm/assets
cp -r assets/* target/itchio/wasm/assets/
2022-08-27 16:56:54 +00:00
cp index.html target/itchio/wasm/
cp target/lux-synthese.js target/itchio/wasm/target/
cp target/lux-synthese_bg.wasm target/itchio/wasm/target/
2022-08-27 22:10:41 +00:00
jq -c < assets/game.levels.json > target/itchio/wasm/assets/game.levels.json
2022-08-27 16:56:54 +00:00
cd target/itchio/wasm
zip -r ../wasm.zip .