pulumi/sdk/go/common/util/logging/BUILD.bazel

26 lines
592 B
Python
Raw Normal View History

2023-11-08 17:26:23 +00:00
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "logging",
srcs = ["log.go"],
2023-11-08 18:52:28 +00:00
importpath = "github.com/pulumi/pulumi/sdk/v3/go/common/util/logging",
2023-11-08 17:26:23 +00:00
visibility = ["//visibility:public"],
deps = [
2024-03-18 19:06:39 +00:00
"//sdk/go/common/slice",
2023-11-08 17:26:23 +00:00
"@com_github_golang_glog//:glog",
],
)
go_test(
name = "logging_test",
srcs = ["log_test.go"],
embed = [":logging"],
deps = ["@com_github_stretchr_testify//assert"],
)
2023-11-08 18:13:05 +00:00
alias(
name = "go_default_library",
actual = ":logging",
visibility = ["//visibility:public"],
)