summaryrefslogtreecommitdiff
path: root/PREUPLOAD.cfg
diff options
context:
space:
mode:
author shafik <shafik@google.com> 2019-09-06 10:51:29 +0100
committer shafik <shafik@google.com> 2019-09-06 11:26:52 +0100
commit8b57cd5a7f99a363c9529d0127982c67722dcee0 (patch)
treecefb2ae9c0ddcffcfe1d5158990396d7499c0281 /PREUPLOAD.cfg
parent88203dc22f8ddef9d6c9a35618739e88c20a6089 (diff)
Get ourselves some clang-format and apply it
Add clang-format and apply it to all *.cpp *.h files under jni/ Test: make Change-Id: I3fe84eb3a65b73d8b38bb9bd52c07945835ede70
Diffstat (limited to 'PREUPLOAD.cfg')
-rw-r--r--PREUPLOAD.cfg5
1 files changed, 5 insertions, 0 deletions
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg
new file mode 100644
index 000000000..c8dbf77fa
--- /dev/null
+++ b/PREUPLOAD.cfg
@@ -0,0 +1,5 @@
+[Builtin Hooks]
+clang_format = true
+
+[Builtin Hooks Options]
+clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp