Skip to content

Commit

Permalink
Run cargo-machete as part of normal lint (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevgo authored Apr 6, 2024
1 parent 327574b commit 9f4b684
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ lint: lint-std-fs tools/rta@${RUN_THAT_APP_VERSION} # checks formatting
# cargo udeps # requires nightly
git diff --check
tools/rta actionlint
cargo machete

lint-std-fs: # checks for occurrences of "std::fs", should use "fs_err" instead
! grep -rn --include '*.rs' 'std::fs'
Expand Down Expand Up @@ -61,11 +62,10 @@ setup: setup-ci # install development dependencies on this computer
setup-ci: # prepares the CI server
rustup toolchain add nightly
rustup component add rustfmt --toolchain nightly
# cargo install cargo-udeps --locked # requires nightly
cargo install cargo-machete --locked

update: tools/rta@${RUN_THAT_APP_VERSION} # updates the dependencies
cargo install cargo-edit cargo-machete
cargo machete
cargo install cargo-edit
cargo upgrade
tools/rta --update

Expand Down

0 comments on commit 9f4b684

Please sign in to comment.