Skip to content

Commit

Permalink
add Justfile to execute typical (cargo) commands
Browse files Browse the repository at this point in the history
  • Loading branch information
elmarx committed Oct 19, 2023
1 parent 010a7b4 commit 41a4709
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Justfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# run tests/checks that are also run by github actions
ci:
cargo fmt --all -- --check
cargo check --tests --examples
cargo test
cargo clippy -- -D warnings

# run clippy (from nightly) in pedantic mode, but warnings only
# you need to install nightly via rustup, e.g.: `rustup toolchain install nightly --component clippy`
clippy_pedantic:
cargo +nightly clippy --all-targets -- -W clippy::pedantic

0 comments on commit 41a4709

Please sign in to comment.