mirror of
https://github.com/k3s-io/kubernetes.git
synced 2026-02-22 07:03:28 +00:00
automatically install goimports when running update-codegen
This commit is contained in:
@@ -49,6 +49,9 @@ if [[ "${DBG_CODEGEN}" == 1 ]]; then
|
||||
kube::log::status "DBG: starting generated_files"
|
||||
fi
|
||||
|
||||
echo "installing goimports from hack/tools"
|
||||
go -C "${KUBE_ROOT}/hack/tools" install golang.org/x/tools/cmd/goimports
|
||||
|
||||
# Generate a list of directories we don't want to play in.
|
||||
DIRS_TO_AVOID=()
|
||||
kube::util::read-array DIRS_TO_AVOID < <(
|
||||
|
||||
Reference in New Issue
Block a user