rust-webwasm/justfile
2024-01-02 01:08:02 -08:00

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