mirror of https://github.com/k3s-io/k3s
Set gazelle:proto disable_global
parent
9e284de501
commit
b25ad9c862
|
@ -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"])
|
||||
|
||||
|
|
|
@ -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}" \
|
||||
|
|
Loading…
Reference in New Issue