summaryrefslogtreecommitdiffhomepage
path: root/tools/issue_reviver/github/BUILD
blob: 555abd29693a093fa374920b5596fcc049706554 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
load("//tools:defs.bzl", "go_library", "go_test")

package(licenses = ["notice"])

go_library(
    name = "github",
    srcs = ["github.go"],
    nogo = False,
    visibility = [
        "//tools/issue_reviver:__subpackages__",
    ],
    deps = [
        "//tools/issue_reviver/reviver",
        "@com_github_google_go_github_v28//github:go_default_library",
        "@org_golang_x_oauth2//:go_default_library",
    ],
)

go_test(
    name = "github_test",
    size = "small",
    srcs = ["github_test.go"],
    library = ":github",
    nogo = False,
)