Add a justfile
with before_commit
at the root.
This commit is contained in:
parent
979f8eabf9
commit
53dc2b9aba
1 changed files with 13 additions and 0 deletions
13
justfile
Normal file
13
justfile
Normal 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
|
||||
|
Loading…
Reference in a new issue