Skip to content

Commit 1f71c59

Browse files
committed
just: Add lint commands
Add commands and alias' to lint `verify` and `intergration-tests`.
1 parent c2060fb commit 1f71c59

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

justfile

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ set export
33
REPO_DIR := `git rev-parse --show-toplevel`
44

55
alias ulf := update-lock-files
6+
alias l := lint
7+
alias li := lint-integration-tests
8+
alias lv := lint-verify
69

710
default:
811
@just --list
@@ -16,9 +19,15 @@ check:
1619
cargo check --workspace --all-targets --all-features
1720

1821
# Lint everything.
19-
lint:
22+
lint: lint-verify lint-integration-tests
2023
cargo +$(cat ./nightly-version) clippy --workspace --all-targets --all-features -- --deny warnings
2124

25+
lint-verify:
26+
$REPO_DIR/contrib/lint-verify.sh
27+
28+
lint-integration-tests:
29+
$REPO_DIR/contrib/lint-integtation-tests.sh
30+
2231
# Run cargo fmt
2332
fmt:
2433
cargo +$(cat ./nightly-version) fmt --all

0 commit comments

Comments
 (0)