048545d249
Change-Id: I233e7653eadcce87067def841b2f28c700f96045 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/492096 Reviewed-by: Brian Salomon <bsalomon@google.com>
10 lines
438 B
Makefile
10 lines
438 B
Makefile
debug:
|
|
bazelisk build //experimental/wasm-hello-world:hello_world_wasm --sandbox_base=/dev/shm
|
|
- rm -rf build/
|
|
mkdir build
|
|
cp ../../bazel-bin/experimental/wasm-hello-world/hello_world_wasm/hello_world.js build/hello_world.js
|
|
cp ../../bazel-bin/experimental/wasm-hello-world/hello_world_wasm/hello_world.wasm build/hello_world.wasm
|
|
|
|
serve:
|
|
echo "Go check out http://localhost:8000/hello_world.html"
|
|
python3 ../../tools/serve_wasm.py
|