Seed random number generation
This commit is contained in:
+9
-2
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user