Justfie updates

This commit is contained in:
Greg Shuflin 2024-01-02 01:08:02 -08:00
parent b7401b07b9
commit 660dcecb53
1 changed files with 6 additions and 4 deletions

View File

@ -1,12 +1,14 @@
_default: _default:
just --list just --list
install: # Install wasm-pack dev tool
install-wasm-pack:
cargo install wasm-pack cargo install wasm-pack
build: # Use wasm-pack to build a checkerboard binary
build-checkerboard:
~/.cargo/bin/wasm-pack build --target web ~/.cargo/bin/wasm-pack build --target web
# Serve the checkerboard pattern
serve: serve-checkerboard:
python -m http.server 9001 python -m http.server 9001