1
0
mirror of https://github.com/openshift/installer.git synced 2026-02-05 06:46:36 +01:00
Files
installer/tools.go

21 lines
755 B
Go
Raw Normal View History

2021-11-09 19:48:46 -05:00
//go:build tools
// +build tools
// Official workaround to track tool dependencies with go modules:
// https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module
// TODO: go 1.23 (added for grep) should be the last version where we need to do this. With
// go 1.24 we should be able to use the go tool command https://tip.golang.org/doc/go1.24#go-command
package tools
2022-12-13 10:33:06 +01:00
import (
_ "github.com/daixiang0/gci" // dependency of hack/go-fmt.sh
// used to generate mocks
_ "go.uber.org/mock/mockgen"
// dependency of generating DeepCopy implementations for install-config
_ "k8s.io/code-generator/cmd/deepcopy-gen"
// dependency of generating CRD for install-config
_ "sigs.k8s.io/controller-tools/cmd/controller-gen"
)