mirror of
https://github.com/kubernetes/kubernetes.git
synced 2026-06-09 08:55:55 -04:00
automatically install goimports when running update-codegen
This commit is contained in:
parent
1473aeaac4
commit
8a2f367ec3
1 changed files with 3 additions and 0 deletions
|
|
@ -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 < <(
|
||||
|
|
|
|||
Loading…
Reference in a new issue