...

Text file src/edge-infra.dev/pkg/f8n/devinfra/repo/owners/policybot/policy/predicate/BUILD.bazel

Documentation: edge-infra.dev/pkg/f8n/devinfra/repo/owners/policybot/policy/predicate

     1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
     2
     3go_library(
     4    name = "predicate",
     5    srcs = [
     6        "author.go",
     7        "branch.go",
     8        "file.go",
     9        "label.go",
    10        "matches.go",
    11        "predicate.go",
    12        "predicates.go",
    13        "repository.go",
    14        "signature.go",
    15        "status.go",
    16        "title.go",
    17    ],
    18    importpath = "edge-infra.dev/pkg/f8n/devinfra/repo/owners/policybot/policy/predicate",
    19    visibility = ["//visibility:public"],
    20    deps = [
    21        "//pkg/f8n/devinfra/repo/owners/policybot/policy/common",
    22        "//pkg/f8n/devinfra/repo/owners/policybot/pull",
    23        "@com_github_pkg_errors//:errors",
    24    ],
    25)
    26
    27go_test(
    28    name = "predicate_test",
    29    srcs = [
    30        "author_test.go",
    31        "branch_test.go",
    32        "file_test.go",
    33        "label_test.go",
    34        "predicate_test.go",
    35        "repository_test.go",
    36        "signature_test.go",
    37        "status_test.go",
    38        "title_test.go",
    39    ],
    40    embed = [":predicate"],
    41    deps = [
    42        "//pkg/f8n/devinfra/repo/owners/policybot/policy/common",
    43        "//pkg/f8n/devinfra/repo/owners/policybot/pull",
    44        "//pkg/f8n/devinfra/repo/owners/policybot/pull/pulltest",
    45        "@com_github_stretchr_testify//assert",
    46    ],
    47)

View as plain text