From 53dc2b9aba0e644780d16fb9f97f03b522713037 Mon Sep 17 00:00:00 2001 From: Ethiraric Date: Sun, 13 Oct 2024 16:24:28 +0200 Subject: [PATCH] Add a `justfile` with `before_commit` at the root. --- justfile | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 justfile diff --git a/justfile b/justfile new file mode 100644 index 0000000..50d8a5f --- /dev/null +++ b/justfile @@ -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 +