mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-22 19:40:37 +00:00
f537a98fcd
* Update staticcheck to latest * Add static checks while ignoring for third party / external stuff * Added a hack to keep go mod happy. * disable SA2002 * Pin go mod tidy checker image to golang:1.20-alpine
28 lines
630 B
Python
28 lines
630 B
Python
load("@io_bazel_rules_go//go:def.bzl", "go_binary")
|
|
load("@prysm//tools/go:def.bzl", "go_library", "go_test")
|
|
|
|
# gazelle:exclude hack.go
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"config.go",
|
|
"config_exclusion.go",
|
|
"main.go",
|
|
],
|
|
importpath = "github.com/prysmaticlabs/prysm/v4/tools/nogo_config",
|
|
visibility = ["//visibility:private"],
|
|
)
|
|
|
|
go_binary(
|
|
name = "nogo_config",
|
|
embed = [":go_default_library"],
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["config_exclusion_test.go"],
|
|
embed = [":go_default_library"],
|
|
)
|