2018-07-07 17:23:19 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2018-08-12 17:58:02 +00:00
|
|
|
srcs = ["service.go"],
|
2018-08-22 19:15:21 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/validator/proposer",
|
|
|
|
visibility = ["//validator:__subpackages__"],
|
2018-07-07 17:23:19 +00:00
|
|
|
deps = [
|
2018-08-22 19:15:21 +00:00
|
|
|
"//validator/types:go_default_library",
|
2018-07-10 02:27:23 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2018-07-07 17:23:19 +00:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
2018-07-17 18:39:04 +00:00
|
|
|
size = "small",
|
2018-07-07 17:23:19 +00:00
|
|
|
srcs = ["service_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2018-08-12 17:58:02 +00:00
|
|
|
"//shared/testutil:go_default_library",
|
|
|
|
"@com_github_golang_mock//gomock:go_default_library",
|
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2018-07-27 00:29:28 +00:00
|
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
2018-07-07 17:23:19 +00:00
|
|
|
],
|
|
|
|
)
|