commit | bd7233da738a3778ace161a33954540fadc77de1 | [log] [tgz] |
---|---|---|
author | fionaxu <fionaxu@google.com> | Wed Nov 16 17:09:42 2016 -0800 |
committer | fionaxu <fionaxu@google.com> | Wed Nov 16 18:06:46 2016 -0800 |
tree | a2f21e92c6ab3633716c3bfd3fe985351e35c5a1 | |
parent | a8829d52f20884265530773c0d7a509d819d924c [diff] [blame] |
Enable Checkstyle for frameworks/opt/telephony - users have the option to skip checkstyle check Bug: 32954735 Test: tested locally by uploading a file that had a checkstyle issue. Change-Id: I8c7be690e379a68cea20d0807fdb22fa2f2d807c
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg new file mode 100644 index 0000000..4c347d2 --- /dev/null +++ b/PREUPLOAD.cfg
@@ -0,0 +1,2 @@ +[Hook Scripts] +checkstyle_hook = ${REPO_ROOT}/development/tools/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}