This was done by running the following command twice: ```bash grep -Ri "github.com/jetstack/cert-manager" . | \ cut -d":" -f1 | \ sort | \ uniq | \ xargs sed -i "s/github.com\/jetstack\/cert-manager/github.com\/cert-manager\/cert-manager/" ``` Signed-off-by: Ashley Davis <ashley.davis@jetstack.io>
32 lines
880 B
Python
32 lines
880 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["create.go"],
|
|
importpath = "github.com/cert-manager/cert-manager/cmd/ctl/pkg/create",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//cmd/ctl/pkg/create/certificaterequest:go_default_library",
|
|
"@com_github_spf13_cobra//:go_default_library",
|
|
"@io_k8s_cli_runtime//pkg/genericclioptions:go_default_library",
|
|
],
|
|
)
|
|
|
|
filegroup(
|
|
name = "package-srcs",
|
|
srcs = glob(["**"]),
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
filegroup(
|
|
name = "all-srcs",
|
|
srcs = [
|
|
":package-srcs",
|
|
"//cmd/ctl/pkg/create/certificaterequest:all-srcs",
|
|
"//cmd/ctl/pkg/create/certificatesigningrequest:all-srcs",
|
|
],
|
|
tags = ["automanaged"],
|
|
visibility = ["//visibility:public"],
|
|
)
|