gazelle: disable proto rules

pull/8/head
Jeff Grafton 2018-05-03 15:37:33 -07:00
parent 5e9a5659b7
commit bfc2d7bdd7
2 changed files with 4 additions and 1 deletions

View File

@ -4,6 +4,10 @@
# 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
package(default_visibility = ["//visibility:public"])
load("@io_bazel_rules_go//go:def.bzl", "go_prefix")

View File

@ -40,7 +40,6 @@ touch "${KUBE_ROOT}/vendor/BUILD"
gazelle fix \
-build_file_name=BUILD,BUILD.bazel \
-external=vendored \
-proto=legacy \
-mode=fix
# gazelle gets confused by our staging/ directory, prepending an extra
# "k8s.io/kubernetes/staging/src" to the import path.