diff --git a/.git-hooks/pre-commit b/.git-hooks/pre-commit index 0111726..11abf35 100755 --- a/.git-hooks/pre-commit +++ b/.git-hooks/pre-commit @@ -10,6 +10,7 @@ shopt -s inherit_errexit # Inherit the errexit option status in subshells. set -x +cargo run --bin generate_definitions > ./definitions/generated.lua git update-index --refresh cargo clippy --all-targets --all -- -D warnings cargo fmt -- --check