# Task runner for rtb-config. `just ci` mirrors the MR gate.
default: check
check:
cargo check --all-targets
build:
cargo build --all-targets
fmt:
cargo fmt --all
fmt-check:
cargo fmt --all --check
lint:
cargo clippy --all-targets --all-features -- -D warnings
test:
cargo nextest run --all-features || cargo test --all-features
audit:
cargo deny check
docs:
RUSTDOCFLAGS="-D warnings" cargo doc --no-deps --all-features
site-build:
zensical build --clean
site-serve:
zensical serve
ci: fmt-check lint docs test audit