summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRemi NGUYEN VAN <reminv@google.com>2019-06-10 01:30:38 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2019-06-10 01:30:38 +0000
commit10c2cc18e43fb3fd15c8dd6dec58c8c8d7730c55 (patch)
treebcf2761690802b2e81a2f2172550efb568603d69
parentebc3a5ce0b17f189704a48dd02e2250fbf1eb1fb (diff)
parent6ba4828f2a6a2682fd8daef0301f3d655b62179b (diff)
Merge "Add preupload hooks config for NetworkStack"
-rw-r--r--PREUPLOAD.cfg3
1 files changed, 3 insertions, 0 deletions
diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg
new file mode 100644
index 0000000..151be7e
--- /dev/null
+++ b/PREUPLOAD.cfg
@@ -0,0 +1,3 @@
+[Hook Scripts]
+checkstyle_hook = ${REPO_ROOT}/prebuilts/checkstyle/checkstyle.py --sha ${PREUPLOAD_COMMIT}
+ktlint_hook = ${REPO_ROOT}/prebuilts/ktlint/ktlint.py -f ${PREUPLOAD_FILES}