diff --git a/Justfile b/Justfile index c9e2bf0..670a285 100644 --- a/Justfile +++ b/Justfile @@ -2,7 +2,7 @@ set positional-arguments target := "x86_64-unknown-linux-musl" -check: test +check: fmt-check lint test cargo check cargo fmt --check cargo clippy --no-deps -- -Dwarnings @@ -11,8 +11,12 @@ fmt: cargo fmt git ls-files | grep '\.py$' | xargs black +fmt-check: + cargo fmt --check + git ls-files | grep '\.py$' | xargs black --check + lint: - cargo clippy --no-deps + cargo clippy --no-deps -- -Dwarnings lint-fix: cargo clippy --no-deps --fix