mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 02:34:03 +00:00
gazelle: disable proto rules
This commit is contained in:
parent
5e9a5659b7
commit
bfc2d7bdd7
@ -4,6 +4,10 @@
|
|||||||
# gazelle:exclude _tmp
|
# gazelle:exclude _tmp
|
||||||
# gazelle:prefix k8s.io/kubernetes
|
# 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"])
|
package(default_visibility = ["//visibility:public"])
|
||||||
|
|
||||||
load("@io_bazel_rules_go//go:def.bzl", "go_prefix")
|
load("@io_bazel_rules_go//go:def.bzl", "go_prefix")
|
||||||
|
@ -40,7 +40,6 @@ touch "${KUBE_ROOT}/vendor/BUILD"
|
|||||||
gazelle fix \
|
gazelle fix \
|
||||||
-build_file_name=BUILD,BUILD.bazel \
|
-build_file_name=BUILD,BUILD.bazel \
|
||||||
-external=vendored \
|
-external=vendored \
|
||||||
-proto=legacy \
|
|
||||||
-mode=fix
|
-mode=fix
|
||||||
# gazelle gets confused by our staging/ directory, prepending an extra
|
# gazelle gets confused by our staging/ directory, prepending an extra
|
||||||
# "k8s.io/kubernetes/staging/src" to the import path.
|
# "k8s.io/kubernetes/staging/src" to the import path.
|
||||||
|
Loading…
Reference in New Issue
Block a user