2021-04-15 14:54:07 +00:00
|
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_binary")
|
|
|
|
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
|
|
|
|
go_library(
|
|
|
|
name = "go_default_library",
|
|
|
|
srcs = [
|
|
|
|
"check.go",
|
|
|
|
"download.go",
|
|
|
|
"main.go",
|
|
|
|
],
|
|
|
|
embedsrcs = [
|
|
|
|
"data/specs/phase0/beacon-chain.md",
|
|
|
|
"data/specs/phase0/fork-choice.md",
|
|
|
|
"data/specs/phase0/validator.md",
|
|
|
|
"data/specs/phase0/weak-subjectivity.md",
|
|
|
|
"data/ssz/merkle-proofs.md",
|
|
|
|
"data/extra.md",
|
|
|
|
],
|
2023-03-17 18:52:56 +00:00
|
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/tools/specs-checker",
|
2021-04-15 14:54:07 +00:00
|
|
|
visibility = ["//visibility:public"],
|
2023-06-15 21:41:46 +00:00
|
|
|
deps = [
|
|
|
|
"//config/params:go_default_library",
|
|
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
|
|
|
],
|
2021-04-15 14:54:07 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
go_binary(
|
|
|
|
name = "specs-checker",
|
|
|
|
embed = [":go_default_library"],
|
|
|
|
visibility = ["//visibility:public"],
|
|
|
|
)
|