set shell := ["powershell.exe", "-c"]

default:
    just --list

# Build the WASM core into dev/pkg (the browser visualiser's compute engine).
build-web:
    wasm-pack build --target web --out-dir dev/pkg --no-default-features --features wasm

# Build the WASM core, then serve the static dev page at http://127.0.0.1:5050/.
serve: build-web
    uv run python -m http.server -d dev 5050
