# __CRATE__ — task runner. `just` lists recipes.
default:
@just --list
# Build the plugin to wasm.
build:
cd solver && cargo build --release --target wasm32-unknown-unknown
# Fast inner loop: rebuild the wasm on every Rust change.
dev:
watchexec -e rs -w solver/src -- just build
# Build the wasm, then run the Python entry point.
run: build
uv run python run.py
# Native build (fast type-check of the plugin without wasm).
check:
cd solver && cargo clippy