summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhomart Mukhamejanov <zhomart@google.com>2018-04-18 03:14:06 +0200
committerandroid-build-merger <android-build-merger@google.com>2018-04-18 03:14:06 +0200
commit6139a5b4556a09387d97c25e3b926d70e96d171d (patch)
tree83bdfbe1482ce511594af53b912e2beed548620f
parentMerge "tests: Move ResourcesTest into component test." am: 07d0032def am: 9adbc572a3 (diff)
parentMerge "Add sample_updater style check to PREUPLOAD.cfg" am: 73e6644777 (diff)
downloadandroid_bootable_recovery-6139a5b4556a09387d97c25e3b926d70e96d171d.tar
android_bootable_recovery-6139a5b4556a09387d97c25e3b926d70e96d171d.tar.gz
android_bootable_recovery-6139a5b4556a09387d97c25e3b926d70e96d171d.tar.bz2
android_bootable_recovery-6139a5b4556a09387d97c25e3b926d70e96d171d.tar.lz
android_bootable_recovery-6139a5b4556a09387d97c25e3b926d70e96d171d.tar.xz
android_bootable_recovery-6139a5b4556a09387d97c25e3b926d70e96d171d.tar.zst
android_bootable_recovery-6139a5b4556a09387d97c25e3b926d70e96d171d.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/
+