3 lines
222 B
Bash
3 lines
222 B
Bash
cargo build --release --target wasm32-unknown-unknown || exit 1
|
|
echo "==> wasm-bindgen..."
|
|
wasm-bindgen --out-name jsb-gravity --out-dir target --target web target/wasm32-unknown-unknown/release/jsb-gravity.wasm || exit 1
|