Initial commit
This commit is contained in:
13
build-wasm.sh
Executable file
13
build-wasm.sh
Executable file
@@ -0,0 +1,13 @@
|
||||
#!/bin/bash
|
||||
set -e
|
||||
|
||||
echo "Building WASM..."
|
||||
cargo build --target wasm32-unknown-unknown --release --no-default-features
|
||||
|
||||
echo "Copying to website/static/..."
|
||||
cp target/wasm32-unknown-unknown/release/doux.wasm website/static/doux.wasm
|
||||
|
||||
echo "Verifying..."
|
||||
ls -la website/static/doux.wasm
|
||||
echo ""
|
||||
echo "Done! WASM updated in website/static/"
|
||||
Reference in New Issue
Block a user