github.com/abayer/test-infra@v0.0.5/robots/issue-creator/sources/BUILD.bazel (about)

     1  load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
     2  
     3  go_library(
     4      name = "go_default_library",
     5      srcs = [
     6          "flakyjob-reporter.go",
     7          "triage-filer.go",
     8      ],
     9      importpath = "k8s.io/test-infra/robots/issue-creator/sources",
    10      visibility = ["//visibility:public"],
    11      deps = [
    12          "//mungegithub/mungers/mungerutil:go_default_library",
    13          "//robots/issue-creator/creator:go_default_library",
    14          "//vendor/github.com/golang/glog:go_default_library",
    15          "//vendor/github.com/google/go-github/github:go_default_library",
    16      ],
    17  )
    18  
    19  go_test(
    20      name = "go_default_test",
    21      srcs = [
    22          "flakyjob-reporter_test.go",
    23          "triage-filer_test.go",
    24      ],
    25      embed = [":go_default_library"],
    26      deps = [
    27          "//robots/issue-creator/creator:go_default_library",
    28          "//robots/issue-creator/testowner:go_default_library",
    29          "//vendor/github.com/google/go-github/github:go_default_library",
    30      ],
    31  )
    32  
    33  filegroup(
    34      name = "package-srcs",
    35      srcs = glob(["**"]),
    36      tags = ["automanaged"],
    37      visibility = ["//visibility:private"],
    38  )
    39  
    40  filegroup(
    41      name = "all-srcs",
    42      srcs = [":package-srcs"],
    43      tags = ["automanaged"],
    44      visibility = ["//visibility:public"],
    45  )