7d40a2cd56
- .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>
27 lines
621 B
Makefile
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
|