2021-09-24 09:25:42 +00:00
|
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
2019-07-23 13:58:20 +00:00
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
2019-09-11 18:38:35 +00:00
|
|
|
srcs = [
|
2021-09-24 09:25:42 +00:00
|
|
|
"api_module.go",
|
2019-09-18 14:30:02 +00:00
|
|
|
"base.go",
|
2019-11-26 07:15:54 +00:00
|
|
|
"config.go",
|
2019-09-11 18:38:35 +00:00
|
|
|
"interop.go",
|
2021-01-11 20:03:28 +00:00
|
|
|
"log.go",
|
2019-09-11 18:38:35 +00:00
|
|
|
],
|
2024-02-15 05:46:47 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v5/cmd/beacon-chain/flags",
|
2021-03-02 19:36:03 +00:00
|
|
|
visibility = [
|
2021-09-16 19:55:51 +00:00
|
|
|
"//api/gateway:__pkg__",
|
2021-03-02 19:36:03 +00:00
|
|
|
"//beacon-chain:__subpackages__",
|
|
|
|
"//cmd/beacon-chain:__subpackages__",
|
2021-09-15 14:42:05 +00:00
|
|
|
"//testing/endtoend:__subpackages__",
|
2021-03-02 19:36:03 +00:00
|
|
|
],
|
2019-12-13 15:12:49 +00:00
|
|
|
deps = [
|
2021-09-21 18:11:16 +00:00
|
|
|
"//cmd:go_default_library",
|
2021-09-21 19:59:25 +00:00
|
|
|
"//config/params:go_default_library",
|
2019-12-13 15:12:49 +00:00
|
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
2020-05-31 06:44:34 +00:00
|
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
2019-12-13 15:12:49 +00:00
|
|
|
],
|
2019-07-23 13:58:20 +00:00
|
|
|
)
|
2021-09-24 09:25:42 +00:00
|
|
|
|
|
|
|
go_test(
|
|
|
|
name = "go_default_test",
|
|
|
|
srcs = ["api_module_test.go"],
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
deps = ["//testing/assert:go_default_library"],
|
|
|
|
)
|