From b9d68ab56698c433c8c47eba7047abef2f426225 Mon Sep 17 00:00:00 2001 From: Tim Hockin Date: Tue, 2 Aug 2016 09:05:50 -0700 Subject: [PATCH] Make verify-godeps check the results --- hack/verify-godeps.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/hack/verify-godeps.sh b/hack/verify-godeps.sh index 16af45a3bf6fd..44619cfc7d1ac 100755 --- a/hack/verify-godeps.sh +++ b/hack/verify-godeps.sh @@ -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