Add global preupload checks

This introduces a global repo upload hook that lints and fixes all the
bazel files that are part of a commit.

Change-Id: Id7069d519eddaba4902e18fcd01cca15dee9b660
This commit is contained in:
Erwin Jansen
2025-02-05 14:55:21 -08:00
parent 004db2b45c
commit f39bd974a3

6
GLOBAL-PREUPLOAD.cfg Normal file
View File

@@ -0,0 +1,6 @@
[Builtin Hooks]
xmllint = true
[Hook Scripts]
buildifier = ${REPO_ROOT}/tools/buildSrc/servers/buildifier.py ${PREUPLOAD_FILES}