mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-14 21:53:52 +00:00
Update/verify client generator in scripts
This commit is contained in:
@@ -24,12 +24,15 @@ source "${KUBE_ROOT}/hack/lib/init.sh"
|
||||
kube::golang::setup_env
|
||||
|
||||
setgen=$(kube::util::find-binary "set-gen")
|
||||
clientgen=$(kube::util::find-binary "client-gen")
|
||||
|
||||
# Please do not add any logic to this shell script. Add logic to the go code
|
||||
# that generates the set-gen program.
|
||||
#
|
||||
# This can be called with one flag, --verify-only, so it works for both the
|
||||
# update- and verify- scripts.
|
||||
${clientgen} "$@"
|
||||
${clientgen} -t "$@"
|
||||
${setgen} "$@"
|
||||
|
||||
# You may add additional calls of code generators like set-gen below.
|
||||
# You may add additional calls of code generators like set-gen above.
|
||||
|
Reference in New Issue
Block a user