bevyjam/build-wasm.sh

4 lines
224 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..."
2022-08-27 16:56:54 +00:00
wasm-bindgen --out-name lux-synthese --out-dir target --target web target/wasm32-unknown-unknown/release/lux-synthese.wasm || exit 1