Clean up godep scripts to be self-contained

This commit is contained in:
Tim Hockin
2017-08-31 22:29:32 -07:00
parent 7732c8d892
commit a29c048e33
6 changed files with 73 additions and 39 deletions

View File

@@ -53,12 +53,7 @@ if ! $ALL ; then
echo "Running in short-circuit mode; run with -a to force all scripts to run."
fi
kube::util::ensure_godep_version
if ! kube::util::godep_restored 2>&1 | sed 's/^/ /'; then
echo "Running godep restore"
"${KUBE_ROOT}/hack/godep-restore.sh" ${V}
fi
"${KUBE_ROOT}/hack/godep-restore.sh" ${V}
BASH_TARGETS="
update-generated-protobuf