From 6e732840adbb479626518f62705078dd68ece6da Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20M=C3=B6sl?= Date: Mon, 8 Mar 2021 10:59:49 +0100 Subject: [PATCH] ci: also check benches directory in pre-commit hook --- .cargo-husky/hooks/pre-commit | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.cargo-husky/hooks/pre-commit b/.cargo-husky/hooks/pre-commit index 2698f8ad..6f34ec8a 100755 --- a/.cargo-husky/hooks/pre-commit +++ b/.cargo-husky/hooks/pre-commit @@ -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