Seed random number generation

This commit is contained in:
cool-mist
2025-02-23 17:16:15 +05:30
parent 89e43686ca
commit 5560013e33
2 changed files with 11 additions and 2 deletions
+9 -2
View File
@@ -1,4 +1,11 @@
./build-web.sh && \
cargo build --target wasm32-unknown-unknown --release
if [ $? -ne 0 ]; then
echo "Wasm build failed"
exit 1
fi
mkdir -p ./local-deploy && \
./deploy-ltpd.sh ./local-deploy && \
cp ./web/index.html ./local-deploy/index.html && \
cp ./target/wasm32-unknown-unknown/release/sol_chess.wasm ./local-deploy/sol_chess.wasm && \
basic-http-server ./local-deploy