diff options
Diffstat (limited to 'gazelle/manifest/BUILD.bazel')
-rw-r--r-- | gazelle/manifest/BUILD.bazel | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/gazelle/manifest/BUILD.bazel b/gazelle/manifest/BUILD.bazel new file mode 100644 index 0000000..fc7fa09 --- /dev/null +++ b/gazelle/manifest/BUILD.bazel @@ -0,0 +1,29 @@ +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__"], +) |