skia2/experimental/wasm-hello-world/Makefile
Kevin Lubick 048545d249 Set up basic hello world sk_app
Change-Id: I233e7653eadcce87067def841b2f28c700f96045
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/492096
Reviewed-by: Brian Salomon <bsalomon@google.com>
2022-01-06 20:29:35 +00:00

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