2020-02-13 16:19:46 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
testonly = True,
|
|
|
|
srcs = ["setup_db.go"],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/slasher/db/testing",
|
|
|
|
visibility = ["//slasher:__subpackages__"],
|
|
|
|
deps = [
|
|
|
|
"//shared/testutil:go_default_library",
|
|
|
|
"//slasher/db:go_default_library",
|
|
|
|
"//slasher/db/kv:go_default_library",
|
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["setup_db_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
2020-05-04 01:14:34 +00:00
|
|
|
deps = [
|
|
|
|
"//shared/testutil:go_default_library",
|
|
|
|
"//slasher/db:go_default_library",
|
|
|
|
"//slasher/db/kv:go_default_library",
|
|
|
|
],
|
2020-02-13 16:19:46 +00:00
|
|
|
)
|