mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 21:07:18 +00:00
3d3b9d1217
* Add specdocs static code analyzer * docs pulling script * update content pulling script * add test * better parsing of incoming docs * update test * implements analyzer * separate tool * remove analyzer code * cleanup * deep source fixes * untrack raw specs files * add back phase0 defs * update spec texts * re-arrange code * updated spec list * cleanup * more comments and readme * add merkle proofs specs * add extra.md * mark wrong length issue * update readme * update readme * remove non-def snippets * update comment * check numrows * ignore last empty line Co-authored-by: Raul Jordan <raul@prysmaticlabs.com>
29 lines
794 B
Python
29 lines
794 B
Python
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",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/tools/specs-checker",
|
|
visibility = ["//visibility:public"],
|
|
deps = ["@com_github_urfave_cli_v2//:go_default_library"],
|
|
)
|
|
|
|
go_binary(
|
|
name = "specs-checker",
|
|
embed = [":go_default_library"],
|
|
visibility = ["//visibility:public"],
|
|
)
|