commit | 747b95206b31ac9778d919eb5f6a1ee11d9d388d | [log] [tgz] |
---|---|---|
author | Colin Cross <ccross@android.com> | Tue Feb 23 10:28:33 2021 -0800 |
committer | Colin Cross <ccross@android.com> | Tue Feb 23 10:29:46 2021 -0800 |
tree | 47d110b0c409ce25f4aeb6d3cff9888f1285c182 | |
parent | 03355656777936dbac057bd43d2d8ef65434fb59 [diff] |
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
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg new file mode 100644 index 0000000..317f5c4 --- /dev/null +++ b/PREUPLOAD.cfg
@@ -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}