mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-25 12:57:18 +00:00
e30349d410
* Refactor attestation packing slightly to reduce the skip slot / HTR of process slots * Merge branch 'master' into refactor-attestation-packing * gofmt * Merge branch 'refactor-attestation-packing' of github.com:prysmaticlabs/prysm into refactor-attestation-packing * Merge branch 'master' of github.com:prysmaticlabs/prysm into refactor-attestation-packing * Add static analysis to enforce usage of InitWithReset * Add comment / lint * fix a few usages * more fixes for featureconfig.Init * Fix analyzer * Merge branch 'sa-fc-init' of github.com:prysmaticlabs/prysm into sa-fc-init * Merge refs/heads/master into sa-fc-init * Merge refs/heads/master into sa-fc-init
26 lines
874 B
Python
26 lines
874 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_tool_library")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = ["analyzer.go"],
|
|
importpath = "github.com/prysmaticlabs/prysm/tools/analyzers/featureconfig",
|
|
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 = "featureconfig",
|
|
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",
|
|
],
|
|
)
|