2020-05-05 00:22:26 -07:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
2020-02-14 01:09:54 -06:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = ["node.go"],
|
|
|
|
importpath = "github.com/prysmaticlabs/prysm/slasher/node",
|
|
|
|
visibility = ["//slasher:__subpackages__"],
|
|
|
|
deps = [
|
|
|
|
"//shared:go_default_library",
|
|
|
|
"//shared/cmd:go_default_library",
|
|
|
|
"//shared/debug:go_default_library",
|
2020-02-14 12:11:15 -06:00
|
|
|
"//shared/event:go_default_library",
|
2020-04-29 19:27:01 -04:00
|
|
|
"//shared/featureconfig:go_default_library",
|
2020-07-20 16:23:48 -04:00
|
|
|
"//shared/params:go_default_library",
|
2020-10-02 01:45:34 -05:00
|
|
|
"//shared/prereq:go_default_library",
|
2020-03-08 14:35:37 +08:00
|
|
|
"//shared/prometheus:go_default_library",
|
2020-02-14 01:09:54 -06:00
|
|
|
"//shared/tracing:go_default_library",
|
2020-06-05 08:04:12 -04:00
|
|
|
"//shared/version:go_default_library",
|
2020-02-14 01:09:54 -06:00
|
|
|
"//slasher/beaconclient:go_default_library",
|
|
|
|
"//slasher/db:go_default_library",
|
|
|
|
"//slasher/db/kv:go_default_library",
|
2020-02-14 13:03:25 -06:00
|
|
|
"//slasher/detection:go_default_library",
|
2020-02-14 01:09:54 -06:00
|
|
|
"//slasher/flags:go_default_library",
|
2020-03-25 00:00:21 +05:30
|
|
|
"//slasher/rpc:go_default_library",
|
2020-04-02 08:38:23 +05:30
|
|
|
"@com_github_pkg_errors//:go_default_library",
|
2020-02-14 01:09:54 -06:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2020-05-30 23:44:34 -07:00
|
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
2020-02-14 01:09:54 -06:00
|
|
|
],
|
|
|
|
)
|
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["node_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = [
|
2020-10-09 04:28:35 -05:00
|
|
|
"//shared/cmd:go_default_library",
|
2020-02-14 01:09:54 -06:00
|
|
|
"//shared/testutil:go_default_library",
|
2020-08-13 19:22:25 +03:00
|
|
|
"//shared/testutil/require:go_default_library",
|
2020-08-18 15:41:25 +03:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2020-02-14 01:09:54 -06:00
|
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
2020-05-30 23:44:34 -07:00
|
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
2020-02-14 01:09:54 -06:00
|
|
|
],
|
|
|
|
)
|