diff --git a/hack/lib/golang.sh b/hack/lib/golang.sh index 0379d4b08d..eb45223147 100755 --- a/hack/lib/golang.sh +++ b/hack/lib/golang.sh @@ -263,6 +263,33 @@ kube::golang::create_gopath_tree() { ln -s "${KUBE_ROOT}" "${go_pkg_dir}" } +# Ensure the godep tool exists and is a viable version. +kube::golang::verify_godep_version() { + local -a godep_version_string + local godep_version + local godep_min_version="63" + + if ! which godep &>/dev/null; then + kube::log::usage_from_stdin <