2019-09-02 15:36:29 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
2020-02-13 16:19:46 +00:00
|
|
|
"alias.go",
|
2019-09-02 15:36:29 +00:00
|
|
|
"db.go",
|
|
|
|
],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/slasher/db",
|
|
|
|
visibility = ["//slasher:__subpackages__"],
|
|
|
|
deps = [
|
2020-02-13 16:19:46 +00:00
|
|
|
"//slasher/db/iface:go_default_library",
|
|
|
|
"//slasher/db/kv:go_default_library",
|
2019-09-02 15:36:29 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2020-02-13 16:19:46 +00:00
|
|
|
srcs = ["db_test.go"],
|
2019-09-02 15:36:29 +00:00
|
|
|
embed = [":go_default_library"],
|
2020-02-13 16:19:46 +00:00
|
|
|
deps = ["//slasher/db/kv:go_default_library"],
|
2019-09-02 15:36:29 +00:00
|
|
|
)
|