mirror of https://github.com/pulumi/pulumi.git
32 lines
738 B
Python
32 lines
738 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "util",
|
|
srcs = ["plugin.go"],
|
|
importpath = "github.com/pulumi/pulumi/pkg/v3/util",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//sdk/go/common/apitype",
|
|
"//sdk/go/common/util/contract",
|
|
"//sdk/go/common/workspace",
|
|
"@com_github_blang_semver//:semver",
|
|
],
|
|
)
|
|
|
|
alias(
|
|
name = "go_default_library",
|
|
actual = ":util",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
go_test(
|
|
name = "util_test",
|
|
srcs = ["plugin_test.go"],
|
|
embed = [":util"],
|
|
deps = [
|
|
"//sdk/go/common/apitype",
|
|
"//sdk/go/common/workspace",
|
|
"@com_github_stretchr_testify//assert",
|
|
],
|
|
)
|