Commit 800c2f8d authored by Ryan Hitchman's avatar Ryan Hitchman

Ensure generated files are present before typechecking.

parent dd40e612
......@@ -25,6 +25,10 @@ kube::golang::verify_go_version
cd "${KUBE_ROOT}"
if [[ ! -f test/e2e/generated/bindata.go ]]; then
make --no-print-directory -C "${KUBE_ROOT}" verify_generated_files
fi
ret=0
go run test/typecheck/main.go "$@" || ret=$?
if [[ $ret -ne 0 ]]; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment