diff options
Diffstat (limited to '.dev-suite/hooked/pre-commit')
-rwxr-xr-x | .dev-suite/hooked/pre-commit | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/.dev-suite/hooked/pre-commit b/.dev-suite/hooked/pre-commit index 9ae83cf..931d7ac 100755 --- a/.dev-suite/hooked/pre-commit +++ b/.dev-suite/hooked/pre-commit @@ -1,5 +1,7 @@ #! /bin/bash +set -eu -o pipefail + cargo build --all cargo test --all cargo +nightly fmt --all -- --check -cargo clippy --all --all-targets +cargo clippy --all --all-targets -- -W clippy::pedantic |