wasm-bindgen/examples/no_modules/build.sh
2018-04-19 07:21:09 -07:00

13 lines
282 B
Bash
Executable File

#!/bin/sh
set -ex
cargo +nightly build --target wasm32-unknown-unknown
cargo +nightly run --manifest-path ../../crates/cli/Cargo.toml \
--bin wasm-bindgen -- \
--no-modules \
../../target/wasm32-unknown-unknown/debug/no_modules.wasm --out-dir .
python -m SimpleHTTPServer