Skip to content

Commit be5ab95

Browse files
lucacomeonsi
authored andcommitted
Add buildvcs flag
Signed-off-by: Luca Comellini <[email protected]>
1 parent 224be5b commit be5ab95

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

types/config.go

+3
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,7 @@ type GoFlagsConfig struct {
202202
A bool
203203
ASMFlags string
204204
BuildMode string
205+
BuildVCS bool
205206
Compiler string
206207
GCCGoFlags string
207208
GCFlags string
@@ -528,6 +529,8 @@ var GoBuildFlags = GinkgoFlags{
528529
Usage: "arguments to pass on each go tool asm invocation."},
529530
{KeyPath: "Go.BuildMode", Name: "buildmode", UsageArgument: "mode", SectionKey: "go-build",
530531
Usage: "build mode to use. See 'go help buildmode' for more."},
532+
{KeyPath: "Go.BuildVCS", Name: "buildvcs", SectionKey: "go-build",
533+
Usage: "adds version control information."},
531534
{KeyPath: "Go.Compiler", Name: "compiler", UsageArgument: "name", SectionKey: "go-build",
532535
Usage: "name of compiler to use, as in runtime.Compiler (gccgo or gc)."},
533536
{KeyPath: "Go.GCCGoFlags", Name: "gccgoflags", UsageArgument: "'[pattern=]arg list'", SectionKey: "go-build",

0 commit comments

Comments
 (0)