Add a justfile with before_commit at the root.

This commit is contained in:
Ethiraric 2024-10-13 16:24:28 +02:00
parent 979f8eabf9
commit 53dc2b9aba

13
justfile Normal file
View file

@ -0,0 +1,13 @@
before_commit:
cargo fmt --check
cargo clippy --release --all-targets -- -D warnings
cargo clippy --all-targets -- -D warnings
cargo build --release --all-targets
cargo build --all-targets
cargo test
cargo test --release
cargo test --doc
cargo build --release --package gen_large_yaml --bin gen_large_yaml --manifest-path bench/tools/gen_large_yaml/Cargo.toml
cargo build --release --package bench_compare --bin bench_compare --manifest-path bench/tools/bench_compare/Cargo.toml
RUSTDOCFLAGS="-D warnings" cargo doc --all-features