DockerCLI/scripts/validate/check-all-packages-vendored

13 lines
194 B
Plaintext
Raw Normal View History

#!/bin/sh
set -eu
WARN_MISS_VENDOR='WARNING: dependency is not vendored'
if grep -q "$WARN_MISS_VENDOR" "./vndr.log"; then
echo
echo "Some dependencies are not vendored."
echo
exit 1
fi