...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "ghappman",
5 srcs = [
6 "client.go",
7 "ghappman.go",
8 "session.go",
9 ],
10 embedsrcs = ["templates/form.tmpl"],
11 importpath = "edge-infra.dev/pkg/f8n/devinfra/ghappman",
12 visibility = ["//visibility:public"],
13 deps = [
14 "@com_github_gin_gonic_gin//:gin",
15 "@com_github_google_go_github_v33//github",
16 "@com_google_cloud_go_iam//credentials/apiv1",
17 "@com_google_cloud_go_iam//credentials/apiv1/credentialspb",
18 "@org_golang_x_crypto//bcrypt",
19 "@org_golang_x_oauth2//:oauth2",
20 ],
21)
22
23go_test(
24 name = "ghappman_test",
25 srcs = [
26 "client_test.go",
27 "ghappman_test.go",
28 "session_test.go",
29 ],
30 embed = [":ghappman"],
31 race = "on",
32)
View as plain text