ci: better build scripts

This commit is contained in:
2023-07-25 11:59:07 -05:00
parent 4a1f565f72
commit 973fa08ac9
7 changed files with 77 additions and 37 deletions

7
build.ps1 Normal file
View File

@@ -0,0 +1,7 @@
& cargo build --target=wasm32-unknown-emscripten --release
mkdir -p dist -Force
cp ./target/wasm32-unknown-emscripten/release/Pac_Man.wasm ./dist
cp ./target/wasm32-unknown-emscripten/release/Pac-Man.js ./dist
cp index.html dist