bevyjam/build-wasm.sh

4 lines
214 B
Bash
Raw Normal View History

2022-08-25 22:33:44 +00:00
cargo build --release --target wasm32-unknown-unknown || exit 1
echo "==> wasm-bindgen..."
wasm-bindgen --out-name bevyjam --out-dir target --target web target/wasm32-unknown-unknown/release/bevyjam.wasm || exit 1