Make verify-godeps check the results

pull/6/head
Tim Hockin 2016-08-02 09:05:50 -07:00
parent 63602348a4
commit b9d68ab566
1 changed files with 7 additions and 0 deletions

View File

@ -104,5 +104,12 @@ if ! _out="$(diff -Naupr --ignore-matching-lines='^\s*\"GoVersion\":' --ignore-m
exit 1
fi
if ! _out="$(diff -Naupr ${KUBE_ROOT}/vendor ${_kubetmp}/vendor)"; then
echo "Your vendored results are different:"
echo "${_out}"
echo "Godeps Verify failed."
exit 1
fi
echo "Godeps Verified."
# ex: ts=2 sw=2 et filetype=sh