mirror of https://github.com/k3s-io/k3s
gazelle: disable proto rules
parent
5e9a5659b7
commit
bfc2d7bdd7
|
@ -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")
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue