mirror of
https://github.com/OffchainLabs/prysm.git
synced 2026-04-19 03:01:06 -04:00
**What does this PR do? Why is it needed?** This PR adds the `cmd` directory and all it's subcategories to the `hack/gen-logs.sh`. meaning that they will now have a `log.go` file and a `package` field. see the list of added packages below. some of them had different names, which has been added to the `prefixReplacements` map. packages added: "cmd" "cmd/validator/web" "cmd/validator/wallet" "cmd/validator/slashing-protection" "cmd/validator/db" "cmd/validator/accounts" "cmd/prysmctl" "cmd/prysmctl/weaksubjectivity" "cmd/prysmctl/validator" "cmd/prysmctl/testnet" "cmd/prysmctl/p2p" "cmd/prysmctl/db" "cmd/prysmctl/checkpointsync" "cmd/client-stats" "cmd/beacon-chain" "cmd/beacon-chain/storage" "cmd/beacon-chain/jwt" "cmd/beacon-chain/genesis" "cmd/beacon-chain/flags" "cmd/beacon-chain/db"
19 lines
525 B
Python
19 lines
525 B
Python
load("@prysm//tools/go:def.bzl", "go_library")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"db.go",
|
|
"log.go",
|
|
],
|
|
importpath = "github.com/OffchainLabs/prysm/v7/cmd/validator/db",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//cmd:go_default_library",
|
|
"//runtime/tos:go_default_library",
|
|
"//validator/db:go_default_library",
|
|
"@com_github_sirupsen_logrus//:go_default_library",
|
|
"@com_github_urfave_cli_v2//:go_default_library",
|
|
],
|
|
)
|