...
1load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
2
3go_library(
4 name = "tables",
5 srcs = [
6 "jsonparser.go",
7 "tables.go",
8 ],
9 importpath = "github.com/bazelbuild/buildtools/tables",
10 visibility = ["//visibility:public"],
11)
12
13go_test(
14 name = "tables_test",
15 size = "small",
16 srcs = ["jsonparser_test.go"],
17 data = glob(["testdata/*"]),
18 embed = [":tables"],
19)
20
21alias(
22 name = "go_default_library",
23 actual = ":tables",
24 visibility = ["//visibility:public"],
25)
View as plain text