mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 12:57:18 +00:00
7d9a706cfa
* Add prereqs package * Incorporate prereq check into the clients * gazelle * gazelle fix * linter * Add tests * minor change in test * finish up tests * gazelle * error during platform detection does not cause client to fail fast Co-authored-by: dv8silencer <15720668+dv8silencer@users.noreply.github.com>
25 lines
724 B
Python
25 lines
724 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_test")
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["prereq.go"],
|
|
importpath = "github.com/prysmaticlabs/prysm/shared/prereq",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["prereq_test.go"],
|
|
embed = [":go_default_library"],
|
|
deps = [
|
|
"//shared/testutil/require:go_default_library",
|
|
"@com_github_pkg_errors//:go_default_library",
|
|
"@com_github_sirupsen_logrus//hooks/test:go_default_library",
|
|
],
|
|
)
|