Skip to content

Commit

Permalink
ci: also check benches directory in pre-commit hook
Browse files Browse the repository at this point in the history
  • Loading branch information
ChristianMoesl committed Mar 8, 2021
1 parent 36a1bca commit 6e73284
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .cargo-husky/hooks/pre-commit
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ set -e
# make clippy check all rust files again (bug in clippy)
find . -name '*.rs' | xargs touch

echo '+cargo clippy --all-features -- -D warnings'
cargo clippy --all-features -- -D warnings
echo '+cargo clippy --all-features --all-targets -- -D warnings'
cargo clippy --all-features --all-targets -- -D warnings
echo '+cargo fmt -- --check'
cargo fmt -- --check

0 comments on commit 6e73284

Please sign in to comment.