github.com/shashidharatd/test-infra@v0.0.0-20171006011030-71304e1ca560/mungegithub/mungers/matchers/BUILD (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      library = ":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      deps = [
    37          "//mungegithub/github:go_default_library",
    38          "//vendor/github.com/google/go-github/github:go_default_library",
    39      ],
    40  )
    41  
    42  filegroup(
    43      name = "package-srcs",
    44      srcs = glob(["**"]),
    45      tags = ["automanaged"],
    46      visibility = ["//visibility:private"],
    47  )
    48  
    49  filegroup(
    50      name = "all-srcs",
    51      srcs = [
    52          ":package-srcs",
    53          "//mungegithub/mungers/matchers/comment:all-srcs",
    54          "//mungegithub/mungers/matchers/event:all-srcs",
    55      ],
    56      tags = ["automanaged"],
    57  )