From 0e007e8edc7a3c1bd1076451269dad21c4672158 Mon Sep 17 00:00:00 2001 From: Zhomart Mukhamejanov Date: Tue, 17 Apr 2018 16:09:31 -0700 Subject: Add sample_updater style check to PREUPLOAD.cfg Test: N/A Change-Id: I13f4295a85d50c0a63cac5680e7a3200b0e6c909 --- PREUPLOAD.cfg | 5 +++++ 1 file changed, 5 insertions(+) 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/ + -- cgit v1.2.3