mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-09 11:11:20 +00:00
31 lines
1.1 KiB
Python
31 lines
1.1 KiB
Python
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
||
|
|
||
|
go_library(
|
||
|
name = "go_default_library",
|
||
|
srcs = ["service.go"],
|
||
|
importpath = "github.com/prysmaticlabs/prysm/slasher",
|
||
|
visibility = ["//slasher:__subpackages__"],
|
||
|
deps = [
|
||
|
"//slasher/db:go_default_library",
|
||
|
"@com_github_grpc_ecosystem_go_grpc_middleware//:go_default_library",
|
||
|
"@com_github_grpc_ecosystem_go_grpc_middleware//recovery:go_default_library",
|
||
|
"@com_github_grpc_ecosystem_go_grpc_prometheus//:go_default_library",
|
||
|
"@com_github_sirupsen_logrus//:go_default_library",
|
||
|
"@io_opencensus_go//plugin/ocgrpc:go_default_library",
|
||
|
"@org_golang_google_grpc//:go_default_library",
|
||
|
"@org_golang_google_grpc//credentials:go_default_library",
|
||
|
"@org_golang_google_grpc//reflection:go_default_library",
|
||
|
],
|
||
|
)
|
||
|
|
||
|
go_test(
|
||
|
name = "go_default_test",
|
||
|
srcs = ["service_test.go"],
|
||
|
embed = [":go_default_library"],
|
||
|
deps = [
|
||
|
"//shared/testutil:go_default_library",
|
||
|
"@com_github_sirupsen_logrus//:go_default_library",
|
||
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
||
|
],
|
||
|
)
|