summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPaul Duffin <paulduffin@google.com>2019-06-20 08:35:18 +0100
committerPaul Duffin <paulduffin@google.com>2019-06-20 08:38:56 +0100
commit48a484c8db1c3cff3d90bd8e047408c8e55f944b (patch)
tree24403dc2171bb314e00c2823fac161437a58f0e5
parenteb4e9b38d406be4aafcd3354cba79e6abe10668f (diff)
downloadashmemd-48a484c8db1c3cff3d90bd8e047408c8e55f944b.tar.gz
Use builtin bpfmt preupload check
Test: try and upload a commit with a badly formatted *.bp file Exempt-From-Owner-Approval: preupload is broken Change-Id: I24b41f03e5bee855e129d1e75fec2e737ae559d7
-rw-r--r--PREUPLOAD.cfg6
1 files changed, 1 insertions, 5 deletions
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg
index 827f640..18b0a1b 100644
--- a/PREUPLOAD.cfg
+++ b/PREUPLOAD.cfg
@@ -1,10 +1,6 @@
[Options]
ignore_merged_commits = true
-# Ensure that bp files are correctly formatted.
-# Note: uses libcore's script.
-[Hook Scripts]
-bpfmt-check = ${REPO_ROOT}/libcore/tools/check-bpfmt.sh ${PREUPLOAD_COMMIT}
-
[Builtin Hooks]
clang_format = true
+bpfmt = true