github.com/abayer/test-infra@v0.0.5/mungegithub/mungers/matchers/BUILD.bazel (about)

     1  package(default_visibility = ["//visibility:public"])
     2  
     3  load(
     4      "@io_bazel_rules_go//go:def.bzl",
     5      "go_library",
     6      "go_test",
     7  )
     8  
     9  go_test(
    10      name = "go_default_test",
    11      srcs = [
    12          "command_test.go",
    13          "interactions_test.go",
    14          "notification_test.go",
    15          "pinger_test.go",
    16      ],
    17      data = [
    18          "//mungegithub:configs",
    19      ],
    20      embed = [":go_default_library"],
    21      deps = ["//vendor/github.com/google/go-github/github:go_default_library"],
    22  )
    23  
    24  go_library(
    25      name = "go_default_library",
    26      srcs = [
    27          "command.go",
    28          "interactions.go",
    29          "item.go",
    30          "items.go",
    31          "matchers.go",
    32          "notification.go",
    33          "operators.go",
    34          "pinger.go",
    35      ],
    36      importpath = "k8s.io/test-infra/mungegithub/mungers/matchers",
    37      deps = [
    38          "//mungegithub/github:go_default_library",
    39          "//vendor/github.com/google/go-github/github:go_default_library",
    40      ],
    41  )
    42  
    43  filegroup(
    44      name = "package-srcs",
    45      srcs = glob(["**"]),
    46      tags = ["automanaged"],
    47      visibility = ["//visibility:private"],
    48  )
    49  
    50  filegroup(
    51      name = "all-srcs",
    52      srcs = [
    53          ":package-srcs",
    54          "//mungegithub/mungers/matchers/comment:all-srcs",
    55          "//mungegithub/mungers/matchers/event:all-srcs",
    56      ],
    57      tags = ["automanaged"],
    58  )