aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAshish Kumar <akgaurav@google.com>2023-09-15 16:40:51 +0000
committerAshish Kumar <akgaurav@google.com>2023-09-15 16:40:51 +0000
commit8910e15fd4d11f469c0cb4bfabdb4f8dbc8c1ca6 (patch)
tree6b32da4399e8af0a99227f18a21f741ba92e0296
parent032fbcfad8dfca2a1970e04a3ffb85da51ea4f50 (diff)
downloadContactsProvider-8910e15fd4d11f469c0cb4bfabdb4f8dbc8c1ca6.tar.gz
Added PreUpload config in CP2 for checking code style
Bug: b/300645229 Test: build Change-Id: I160ba8d4c7d9a843cb128de6cb281f53ed1fe119
-rw-r--r--PREUPLOAD.cfg2
1 files changed, 2 insertions, 0 deletions
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg
new file mode 100644
index 00000000..e5f1877f
--- /dev/null
+++ b/PREUPLOAD.cfg
@@ -0,0 +1,2 @@
+[Hook Scripts]
+checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT} \ No newline at end of file