blob: fc7fa0963254713f052e136a70d9c9fabbbbf097 [file] [log] [blame]
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "manifest",
srcs = ["manifest.go"],
importpath = "github.com/bazelbuild/rules_python/gazelle/manifest",
visibility = ["//visibility:public"],
deps = [
"@com_github_emirpasic_gods//sets/treeset",
"@in_gopkg_yaml_v2//:yaml_v2",
],
)
go_test(
name = "manifest_test",
srcs = ["manifest_test.go"],
data = glob(["testdata/**"]),
deps = [":manifest"],
)
filegroup(
name = "distribution",
srcs = glob(["**"]) + [
"//manifest/generate:distribution",
"//manifest/hasher:distribution",
"//manifest/test:distribution",
],
visibility = ["//:__pkg__"],
)