mirror of https://github.com/pulumi/pulumi.git
22 lines
620 B
Python
22 lines
620 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_binary", "go_library")
|
|
|
|
go_library(
|
|
name = "testcomponent-go_lib",
|
|
srcs = ["main.go"],
|
|
importpath = "github.com/pulumi/pulumi/tests/integration/construct_component_methods/testcomponent-go",
|
|
visibility = ["//visibility:private"],
|
|
deps = [
|
|
"//pkg/resource/provider",
|
|
"//sdk/go/common/util/cmdutil",
|
|
"//sdk/go/pulumi",
|
|
"//sdk/go/pulumi/provider",
|
|
"@com_github_blang_semver//:semver",
|
|
],
|
|
)
|
|
|
|
go_binary(
|
|
name = "testcomponent-go",
|
|
embed = [":testcomponent-go_lib"],
|
|
visibility = ["//visibility:public"],
|
|
)
|