From be5ab950a71528b5d0dc2b82f8e1ae833cff2149 Mon Sep 17 00:00:00 2001 From: Luca Comellini Date: Thu, 1 Aug 2024 23:59:40 -0700 Subject: [PATCH] Add buildvcs flag Signed-off-by: Luca Comellini --- types/config.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/types/config.go b/types/config.go index 9ca408eae..97a049e0c 100644 --- a/types/config.go +++ b/types/config.go @@ -202,6 +202,7 @@ type GoFlagsConfig struct { A bool ASMFlags string BuildMode string + BuildVCS bool Compiler string GCCGoFlags string GCFlags string @@ -528,6 +529,8 @@ var GoBuildFlags = GinkgoFlags{ Usage: "arguments to pass on each go tool asm invocation."}, {KeyPath: "Go.BuildMode", Name: "buildmode", UsageArgument: "mode", SectionKey: "go-build", Usage: "build mode to use. See 'go help buildmode' for more."}, + {KeyPath: "Go.BuildVCS", Name: "buildvcs", SectionKey: "go-build", + Usage: "adds version control information."}, {KeyPath: "Go.Compiler", Name: "compiler", UsageArgument: "name", SectionKey: "go-build", Usage: "name of compiler to use, as in runtime.Compiler (gccgo or gc)."}, {KeyPath: "Go.GCCGoFlags", Name: "gccgoflags", UsageArgument: "'[pattern=]arg list'", SectionKey: "go-build",