From 2aee44cba2a20235ff4df6ce024e93172d58e6cc Mon Sep 17 00:00:00 2001 From: Dreaded_X Date: Tue, 30 Apr 2024 02:25:30 +0200 Subject: [PATCH] Make sure the generated lua definitions are up to date --- .git-hooks/pre-commit | 1 + 1 file changed, 1 insertion(+) 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