Skip to content

Commit

Permalink
Run cargo-machete as part of normal lint
Browse files Browse the repository at this point in the history
  • Loading branch information
kevgo committed Apr 6, 2024
1 parent 327574b commit 0831724
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 All @@ -49,7 +50,7 @@ update-json-schema: # updates the public JSON Schema for the config file
tools/rta dprint fmt > /dev/null

setup: setup-ci # install development dependencies on this computer
cargo install cargo-edit cargo-upgrades --locked
cargo install cargo-edit cargo-upgrades cargo-machete --locked
echo
echo PLEASE DO THIS MANUALLY:
echo 1. install openssl-devel:
Expand All @@ -64,8 +65,7 @@ setup-ci: # prepares the CI server
# cargo install cargo-udeps --locked # requires nightly

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 0831724

Please sign in to comment.