mirror of https://github.com/pulumi/pulumi.git
23 lines
542 B
Python
23 lines
542 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "pretty",
|
|
srcs = ["display.go"],
|
|
importpath = "github.com/pulumi/pulumi/pkg/v3/codegen/hcl2/model/pretty",
|
|
visibility = ["//visibility:public"],
|
|
deps = ["//sdk/go/common/slice"],
|
|
)
|
|
|
|
go_test(
|
|
name = "pretty_test",
|
|
srcs = ["display_test.go"],
|
|
embed = [":pretty"],
|
|
deps = ["@com_github_stretchr_testify//assert"],
|
|
)
|
|
|
|
alias(
|
|
name = "go_default_library",
|
|
actual = ":pretty",
|
|
visibility = ["//visibility:public"],
|
|
)
|