load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") | |
go_library( | |
name = "tables", | |
srcs = [ | |
"jsonparser.go", | |
"tables.go", | |
], | |
importpath = "github.com/bazelbuild/buildtools/tables", | |
visibility = ["//visibility:public"], | |
) | |
go_test( | |
name = "tables_test", | |
size = "small", | |
srcs = ["jsonparser_test.go"], | |
data = glob(["testdata/*"]), | |
embed = [":tables"], | |
) | |
alias( | |
name = "go_default_library", | |
actual = ":tables", | |
visibility = ["//visibility:public"], | |
) |