Remove all upstream BUILD, BUILD.bazel, and WORKSPACE files from vendor/

This commit is contained in:
Jeff Grafton 2018-03-21 16:28:06 -07:00
parent dce1b88128
commit 7015f191ef

View File

@ -81,6 +81,11 @@ done
rm -rf vendor/github.com/docker/docker/project/
kube::log::status "Updating BUILD files"
# Assume that anything imported through godep doesn't need Bazel to build.
# Prune out any Bazel build files, since these can break the build due to
# missing dependencies that aren't included by godep.
find vendor/ -type f \( -name BUILD -o -name BUILD.bazel -o -name WORKSPACE \) \
-exec rm -f {} \;
hack/update-bazel.sh >/dev/null
kube::log::status "Updating LICENSES file"