github.com/munnerz/test-infra@v0.0.0-20190108210205-ce3d181dc989/triage/BUILD.bazel (about)

     1  load("@build_bazel_rules_nodejs//:defs.bzl", "jasmine_node_test")
     2  
     3  py_test(
     4      name = "summarize_test",
     5      srcs = [
     6          "berghelroach.py",
     7          "summarize.py",
     8          "summarize_test.py",
     9      ],
    10  )
    11  
    12  py_test(
    13      name = "berghelroach_test",
    14      srcs = [
    15          "berghelroach.py",
    16          "berghelroach_test.py",
    17      ],
    18  )
    19  
    20  jasmine_node_test(
    21      name = "script_test",
    22      srcs = ["script_test.js"],
    23      data = ["js-srcs"],
    24      deps = [
    25          "@npm//:jasmine",
    26      ],
    27  )
    28  
    29  filegroup(
    30      name = "js-srcs",
    31      srcs = glob(["*.js"]),
    32  )
    33  
    34  filegroup(
    35      name = "package-srcs",
    36      srcs = glob(["**"]),
    37      tags = ["automanaged"],
    38      visibility = ["//visibility:private"],
    39  )
    40  
    41  filegroup(
    42      name = "all-srcs",
    43      srcs = [":package-srcs"],
    44      tags = ["automanaged"],
    45      visibility = ["//visibility:public"],
    46  )