...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "ghfs",
5 srcs = [
6 "fetcher.go",
7 "ghfs.go",
8 ],
9 importpath = "edge-infra.dev/pkg/f8n/devinfra/github/ghfs",
10 visibility = ["//visibility:public"],
11 deps = ["@com_github_google_go_github_v47//github"],
12)
13
14go_test(
15 name = "ghfs_test",
16 srcs = ["ghfs_test.go"],
17 data = glob(["testdata/**"]),
18 embed = [":ghfs"],
19 deps = [
20 "@com_github_google_go_github_v47//github",
21 "@com_github_stretchr_testify//assert",
22 ],
23)
View as plain text