From 6394a7371390587a90664201c612059d961b240a Mon Sep 17 00:00:00 2001 From: Tao Bao Date: Mon, 30 Apr 2018 15:38:14 -0700 Subject: Add tools/ to the style-checking path. Test: Touch a Java file in tools/. `repo upload` gives warnings. Change-Id: I381b01038d8a0c0e90817e383ca5323908fdd592 --- PREUPLOAD.cfg | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg index 108429193..28aa06f45 100644 --- a/PREUPLOAD.cfg +++ b/PREUPLOAD.cfg @@ -7,5 +7,4 @@ 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 updater_sample/ - + --file_whitelist tools/ updater_sample/ -- cgit v1.2.3