Skip to content

Commit

Permalink
gazelle: disable proto rules
Browse files Browse the repository at this point in the history
  • Loading branch information
ixdy committed Jun 22, 2018
1 parent 5e9a565 commit bfc2d7b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 4 additions & 0 deletions build/root/BUILD.root
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
1 change: 0 additions & 1 deletion hack/update-bazel.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit bfc2d7b

Please sign in to comment.