Do not include bazel related deps in root go.mod
- add ./hack/tools/go.mod, this makes ./hack/tools a distinct module - hack/tools/tools.go undescore imports bazel related tools, over time we can add others. - hack/*.sh scripts will cd to hack/tools and go install tools from there Signed-off-by: Davanum Srinivas <davanum@gmail.com>
This commit is contained in:
@@ -82,6 +82,9 @@ var (
|
||||
// edit/record.go doesn't compile without gopkg.in/yaml.v2
|
||||
// in $GOSRC/$GOROOT (both typecheck and the shell script).
|
||||
"pkg/kubectl/cmd/testdata/edit",
|
||||
// Tools we use for maintaining the code base but not necessarily
|
||||
// ship as part of the release
|
||||
"hack/tools",
|
||||
}
|
||||
)
|
||||
|
||||
|
Reference in New Issue
Block a user