mirror of https://github.com/knative/caching.git
Make verify-codegen.sh also check /vendor (#17)
Replicated from: https://github.com/knative/serving/pull/2561 Original link: https://github.com/knative/serving/issues/1711
This commit is contained in:
parent
1b7ae00b15
commit
b169404b88
|
@ -39,6 +39,7 @@ cp -aR "${REPO_ROOT_DIR}/Gopkg.lock" "${REPO_ROOT_DIR}/pkg" "${REPO_ROOT_DIR}/ve
|
||||||
echo "Diffing ${REPO_ROOT_DIR} against freshly generated codegen"
|
echo "Diffing ${REPO_ROOT_DIR} against freshly generated codegen"
|
||||||
ret=0
|
ret=0
|
||||||
diff -Naupr "${REPO_ROOT_DIR}/pkg" "${TMP_DIFFROOT}/pkg" || ret=1
|
diff -Naupr "${REPO_ROOT_DIR}/pkg" "${TMP_DIFFROOT}/pkg" || ret=1
|
||||||
|
diff -Naupr --no-dereference "${REPO_ROOT_DIR}/vendor" "${TMP_DIFFROOT}/vendor" || ret=1
|
||||||
|
|
||||||
# Restore working tree state
|
# Restore working tree state
|
||||||
rm -fr "${TMP_DIFFROOT}/config"
|
rm -fr "${TMP_DIFFROOT}/config"
|
||||||
|
|
Loading…
Reference in New Issue