Add preupload hooks to build/blueprint
Run gofmt and bpfmt during preupload, and warn about uses of DO NOT MERGE. Test: repo upload Change-Id: I5f8a318f9ec1dbca897d25f25107df36d160e1f6
This commit is contained in:
parent
0335565677
commit
747b95206b
1 changed files with 6 additions and 0 deletions
6
PREUPLOAD.cfg
Normal file
6
PREUPLOAD.cfg
Normal file
|
@ -0,0 +1,6 @@
|
||||||
|
[Builtin Hooks]
|
||||||
|
gofmt = true
|
||||||
|
bpfmt = true
|
||||||
|
|
||||||
|
[Hook Scripts]
|
||||||
|
do_not_use_DO_NOT_MERGE = ${REPO_ROOT}/build/soong/scripts/check_do_not_merge.sh ${PREUPLOAD_COMMIT}
|
Loading…
Reference in a new issue