k3s/vendor/k8s.io/kubectl/pkg/util/i18n/BUILD

35 lines
907 B
Python
Raw Normal View History

2019-09-27 21:51:53 +00:00
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2019-01-12 04:58:27 +00:00
go_library(
name = "go_default_library",
srcs = ["i18n.go"],
2019-09-27 21:51:53 +00:00
importmap = "k8s.io/kubernetes/vendor/k8s.io/kubectl/pkg/util/i18n",
importpath = "k8s.io/kubectl/pkg/util/i18n",
visibility = ["//visibility:public"],
2019-01-12 04:58:27 +00:00
deps = [
2019-09-27 21:51:53 +00:00
"//staging/src/k8s.io/kubectl/pkg/generated:go_default_library",
2019-01-12 04:58:27 +00:00
"//vendor/github.com/chai2010/gettext-go/gettext:go_default_library",
2020-08-10 17:43:49 +00:00
"//vendor/k8s.io/klog/v2:go_default_library",
2019-01-12 04:58:27 +00:00
],
)
go_test(
name = "go_default_test",
srcs = ["i18n_test.go"],
embed = [":go_default_library"],
)
filegroup(
name = "package-srcs",
srcs = glob(["**"]),
tags = ["automanaged"],
visibility = ["//visibility:private"],
)
filegroup(
name = "all-srcs",
srcs = [":package-srcs"],
tags = ["automanaged"],
2019-09-27 21:51:53 +00:00
visibility = ["//visibility:public"],
2019-01-12 04:58:27 +00:00
)