27 lines
612 B
Python
27 lines
612 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"errors.go",
|
|
"stack.go",
|
|
],
|
|
importmap = "github.com/jetstack/cert-manager/vendor/github.com/pkg/errors",
|
|
importpath = "github.com/pkg/errors",
|
|
tags = ["manual"],
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = [
|
|
"bench_test.go",
|
|
"errors_test.go",
|
|
"example_test.go",
|
|
"format_test.go",
|
|
"stack_test.go",
|
|
],
|
|
embed = [":go_default_library"],
|
|
tags = ["manual"],
|
|
)
|