Files
biggus-dickus/justfile
T
logaritmisk 7d40a2cd56 chore: use cargo-nextest as the test runner
- .config/nextest.toml: hang-timeout profile (warn 60s, kill 120s)
- justfile: 'just test' = cargo nextest run --workspace + cargo test --doc
- CLAUDE.md: refresh stale Status + Commands for the real workspace + nextest

163 tests run in ~7s (vs multi-minute serial cargo test).

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-05 22:36:59 +02:00

27 lines
621 B
Makefile

set dotenv-load
# Run the server (reads .env)
run:
cargo run -p server
# Run the full test suite via cargo-nextest (per-test isolation, live output,
# hang timeouts). nextest does not run doctests, so they run separately.
test:
cargo nextest run --workspace
cargo test --workspace --doc
# Format with the nightly toolchain
fmt:
cargo +nightly fmt
# Lint, treating warnings as errors
lint:
cargo clippy --workspace --all-targets -- -D warnings
# Run Storybook (web component explorer) on http://localhost:6006
storybook:
cd web && pnpm storybook
# Format, lint, and test
check: fmt lint test