diff --git a/justfile b/justfile new file mode 100644 index 000000000..e126b36d3 --- /dev/null +++ b/justfile @@ -0,0 +1,37 @@ +# Phenotype-org standard justfile + +default: + @just --list + +# Build workspace +build: + cargo build --workspace + +# Run tests +test: + cargo test --workspace + +# Lint (clippy + fmt --check) +lint: + cargo clippy --workspace -- -D warnings + cargo fmt --check + +# Format code +fmt: + cargo fmt + +# Security audits (cargo-deny + cargo-audit) +audit: + cargo deny check + cargo audit + +# Find unused dependencies +unused: + cargo machete + +# Full local CI sweep +ci: lint test audit unused + +# Generate docs +docs: + cargo doc --no-deps --workspace