Update/verify client generator in scripts

This commit is contained in:
Wojciech Tyczynski
2015-12-28 14:13:57 +01:00
parent 5cf0659502
commit 9d912e843b
5 changed files with 10 additions and 16 deletions

View File

@@ -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.