Set gazelle:proto disable_global

pull/8/head
Jeff Grafton 2018-08-27 14:00:42 -07:00
parent 9e284de501
commit b25ad9c862
2 changed files with 4 additions and 2 deletions

View File

@ -1,12 +1,15 @@
# gazelle:build_file_name BUILD,BUILD.bazel
# gazelle:exclude _artifacts
# gazelle:exclude _gopath
# gazelle:exclude _output
# gazelle:exclude _tmp
# gazelle:prefix k8s.io/kubernetes
# Disable proto rules, since the Go sources are currently generated by
# hack/update-generated-protobuf.sh and checked into the repo.
# gazelle:proto disable
# gazelle:proto disable_global
package(default_visibility = ["//visibility:public"])

View File

@ -41,7 +41,6 @@ if ! grep -q "# gazelle:importmap_prefix" "${KUBE_ROOT}/vendor/BUILD"; then
fi
gazelle fix \
-build_file_name=BUILD,BUILD.bazel \
-external=vendored \
-mode=fix \
-repo_root "${KUBE_ROOT}" \