mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-27 21:57:16 +00:00
78465e2549
* adds cryptorand analyzer * better naming * rely on suffix * sync/pending_* use crypto/rand * define shared/rand * updates fetcher * fixes rand issue in sync package * gofmt * shared/rand: more docs + add exclusion nogo_config.json * updates validator/assignments * updates comment * fixes remaning cases * re-arranges comments * fixes tests * renames in shared/rand API * adds simple no-panic test * gazelle Co-authored-by: prylabs-bulldozer[bot] <58059840+prylabs-bulldozer[bot]@users.noreply.github.com>
29 lines
984 B
Python
29 lines
984 B
Python
load("@prysm//tools/go:def.bzl", "go_library")
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_tool_library")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["analyzer.go"],
|
|
importpath = "github.com/prysmaticlabs/prysm/tools/analyzers/cryptorand",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"@org_golang_x_tools//go/analysis:go_default_library",
|
|
"@org_golang_x_tools//go/analysis/passes/inspect:go_default_library",
|
|
"@org_golang_x_tools//go/ast/inspector:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_tool_library(
|
|
name = "go_tool_library",
|
|
srcs = ["analyzer.go"],
|
|
importpath = "github.com/prysmaticlabs/prysm/tools/analyzers/cryptorand",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"@org_golang_x_tools//go/analysis:go_tool_library",
|
|
"@org_golang_x_tools//go/analysis/passes/inspect:go_tool_library",
|
|
"@org_golang_x_tools//go/ast/inspector:go_tool_library",
|
|
],
|
|
)
|
|
|
|
# gazelle:exclude analyzer_test.go
|