From f29f97f895478ea381b3b0f022bc835239d95943 Mon Sep 17 00:00:00 2001 From: Colin Cross Date: Wed, 3 Apr 2019 11:38:17 -0700 Subject: [PATCH] Enable gofmt in preupload hooks Test: none Change-Id: I6a2e65efc84969058f8a540bdc4d0e8d4e661c9d --- PREUPLOAD.cfg | 3 +++ 1 file changed, 3 insertions(+) diff --git a/PREUPLOAD.cfg b/PREUPLOAD.cfg index ccb3a5016..b2b38eab7 100644 --- a/PREUPLOAD.cfg +++ b/PREUPLOAD.cfg @@ -2,3 +2,6 @@ whitespace = tools/whitespace.sh ${PREUPLOAD_FILES} aosp_hook = ${REPO_ROOT}/frameworks/base/tools/aosp/aosp_sha.sh ${PREUPLOAD_COMMIT} "." policy_version_check = tools/policy_version_check.sh + +[Builtin Hooks] +gofmt = true