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:
Davanum Srinivas
2020-04-17 17:20:38 -04:00
parent 32540b0eaa
commit 12146cb4df
145 changed files with 375 additions and 36311 deletions

View File

@@ -20,8 +20,6 @@ limitations under the License.
package tools
import (
_ "github.com/bazelbuild/bazel-gazelle/cmd/gazelle"
_ "github.com/bazelbuild/buildtools/buildozer"
_ "github.com/cespare/prettybench"
_ "github.com/client9/misspell/cmd/misspell"
_ "github.com/go-bindata/go-bindata/go-bindata"
@@ -37,5 +35,4 @@ import (
_ "k8s.io/gengo/examples/import-boss/generators"
_ "k8s.io/gengo/examples/set-gen/generators"
_ "k8s.io/kube-openapi/cmd/openapi-gen"
_ "k8s.io/repo-infra/cmd/kazel"
)