ci: prepare proper build script, move script into /scripts, move index.html into /assets

This commit is contained in:
2023-09-11 16:44:44 -05:00
parent de5cddd9b6
commit d15dbe3982
5 changed files with 33 additions and 32 deletions

View File

@@ -1,10 +0,0 @@
#!/bin/sh
set -eux
cargo build --target=wasm32-unknown-emscripten --release
mkdir -p dist
cp target/wasm32-unknown-emscripten/release/Pac_Man.wasm dist
cp target/wasm32-unknown-emscripten/release/Pac-Man.js dist
cp index.html dist