# Audit.
audit:
  cargo audit

# Add the unreleased entries to the changelog, before the branch is squashed.
changelog:
  git-cliff --unreleased --prepend CHANGELOG.md

# Clippy.
clippy:
  cargo clippy

# Rebuild the website from the template and the documented examples.
docs:
  cargo build --release -p jql
  python3 docs/build.py

# Format.
fmt:
  cargo fmt --all

# Fuzz parser.
fuzz:
  cargo fuzz run fuzz_parser

# Fuzz the lazy evaluator against the runner.
fuzz-lazy:
  cargo fuzz run fuzz_lazy

# Run all tests.
test:
  cargo nextest run

# Run binary tests.
test-bin:
  cargo nextest run -p jql

# Run parser tests.
test-parser:
  cargo nextest run -p jql-parser

# Run runner tests.
test-runner:
  cargo nextest run -p jql-runner
