...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "reviewer",
5 srcs = ["reviewer.go"],
6 importpath = "edge-infra.dev/pkg/f8n/devinfra/repo/owners/policybot/policy/reviewer",
7 visibility = ["//visibility:public"],
8 deps = [
9 "//pkg/f8n/devinfra/repo/owners/policybot/policy/common",
10 "//pkg/f8n/devinfra/repo/owners/policybot/pull",
11 "@com_github_pkg_errors//:errors",
12 "@com_github_rs_zerolog//:zerolog",
13 ],
14)
15
16go_test(
17 name = "reviewer_test",
18 srcs = ["reviewer_test.go"],
19 embed = [":reviewer"],
20 deps = [
21 "//pkg/f8n/devinfra/repo/owners/policybot/policy/common",
22 "//pkg/f8n/devinfra/repo/owners/policybot/pull",
23 "//pkg/f8n/devinfra/repo/owners/policybot/pull/pulltest",
24 "@com_github_stretchr_testify//assert",
25 "@com_github_stretchr_testify//require",
26 ],
27)
View as plain text