blob: 292b667b3dccdc201f3fd398821b390296d2bc26 [file] [log] [blame]
release:
bazel build //src:hello-world-wasm --compilation_mode opt
- rm -rf build/
mkdir build
cp bazel-bin/src/hello-world-wasm/hello-world.js build/hello-world.js
cp bazel-bin/src/hello-world-wasm/hello-world.wasm build/hello-world.wasm
debug:
bazel build //src:hello-world-wasm --compilation_mode dbg
- rm -rf build/
mkdir build
cp bazel-bin/src/hello-world-wasm/hello-world.js build/hello-world.js
cp bazel-bin/src/hello-world-wasm/hello-world.wasm build/hello-world.wasm
serve:
python3 ../../tools/serve_wasm.py