summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhomart Mukhamejanov <zhomart@google.com>2018-04-18 02:52:20 +0200
committerGerrit Code Review <noreply-gerritcodereview@google.com>2018-04-18 02:52:20 +0200
commit73e6644777a7ebf5211191d7f97e22ba1299da0f (patch)
tree14d092ea447cbc8ea300afd42737b9087b2a3b07
parentMerge "tests: Move ResourcesTest into component test." (diff)
parentAdd sample_updater style check to PREUPLOAD.cfg (diff)
downloadandroid_bootable_recovery-73e6644777a7ebf5211191d7f97e22ba1299da0f.tar
android_bootable_recovery-73e6644777a7ebf5211191d7f97e22ba1299da0f.tar.gz
android_bootable_recovery-73e6644777a7ebf5211191d7f97e22ba1299da0f.tar.bz2
android_bootable_recovery-73e6644777a7ebf5211191d7f97e22ba1299da0f.tar.lz
android_bootable_recovery-73e6644777a7ebf5211191d7f97e22ba1299da0f.tar.xz
android_bootable_recovery-73e6644777a7ebf5211191d7f97e22ba1299da0f.tar.zst
android_bootable_recovery-73e6644777a7ebf5211191d7f97e22ba1299da0f.zip
-rw-r--r--PREUPLOAD.cfg5
1 files changed, 5 insertions, 0 deletions
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg
index b5f5f0362..878651c8e 100644
--- a/PREUPLOAD.cfg
+++ b/PREUPLOAD.cfg
@@ -4,3 +4,8 @@ clang_format = true
[Builtin Hooks Options]
# Handle native codes only.
clang_format = --commit ${PREUPLOAD_COMMIT} --style file --extensions c,h,cc,cpp
+
+[Hook Scripts]
+checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}
+ -fw sample_updater/
+