Web build script

This commit is contained in:
Pascal Engélibert 2022-08-28 00:10:41 +02:00
commit 0ee61d808e
Signed by: tuxmain
GPG key ID: 3504BC6D362F7DCA
10 changed files with 82 additions and 26 deletions

View file

@ -7,6 +7,7 @@ cp assets/* target/itchio/wasm/assets/
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/
jq -c < assets/game.levels.json > target/itchio/wasm/assets/game.levels.json
cd target/itchio/wasm
zip -r ../wasm.zip .