Updated pre-commit script to print command before executing and disallow running with unstaged changes
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Dreaded_X 2023-04-12 01:25:24 +02:00
parent ca8821b406
commit 9e9e9296e9
Signed by: Dreaded_X
GPG Key ID: FA5F485356B0D2D4

View File

@ -8,5 +8,8 @@ set -o noglob # Disable filename expansion (globbing),
# path splitting.
shopt -s inherit_errexit # Inherit the errexit option status in subshells.
set -x
git update-index --refresh
cargo clippy --all-targets --all -- -D warnings
cargo fmt -- --check