15 lines
303 B
Makefile
15 lines
303 B
Makefile
_default:
|
|
just --list
|
|
|
|
# Install wasm-pack dev tool
|
|
install-wasm-pack:
|
|
cargo install wasm-pack
|
|
|
|
# Use wasm-pack to build a checkerboard binary
|
|
build-checkerboard:
|
|
~/.cargo/bin/wasm-pack build --target web
|
|
|
|
# Serve the checkerboard pattern
|
|
serve-checkerboard:
|
|
python -m http.server 9001
|