• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4    name = "manifest",
5    srcs = ["manifest.go"],
6    importpath = "github.com/bazelbuild/rules_python/gazelle/manifest",
7    visibility = ["//visibility:public"],
8    deps = [
9        "@com_github_emirpasic_gods//sets/treeset",
10        "@in_gopkg_yaml_v2//:yaml_v2",
11    ],
12)
13
14go_test(
15    name = "manifest_test",
16    srcs = ["manifest_test.go"],
17    data = glob(["testdata/**"]),
18    deps = [":manifest"],
19)
20
21filegroup(
22    name = "distribution",
23    srcs = glob(["**"]) + [
24        "//manifest/generate:distribution",
25        "//manifest/hasher:distribution",
26        "//manifest/test:distribution",
27    ],
28    visibility = ["//:__pkg__"],
29)
30