mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2024-12-23 11:57:18 +00:00
d6bd619429
* Add build transitions for minimal config based tests * respect existing gotags * clean up import * Add some commentary * gaz Co-authored-by: terence tsao <terence@prysmaticlabs.com> Co-authored-by: rauljordan <raul@prysmaticlabs.com>
26 lines
468 B
Python
26 lines
468 B
Python
load(
|
|
"@bazel_skylib//rules:common_settings.bzl",
|
|
"string_flag",
|
|
)
|
|
|
|
# Example flag: --//proto:network=minimal
|
|
string_flag(
|
|
name = "network",
|
|
build_setting_default = "mainnet",
|
|
visibility = ["//visibility:public"],
|
|
)
|
|
|
|
config_setting(
|
|
name = "ssz_mainnet",
|
|
flag_values = {
|
|
"@prysm//proto:network": "mainnet",
|
|
},
|
|
)
|
|
|
|
config_setting(
|
|
name = "ssz_minimal",
|
|
flag_values = {
|
|
"@prysm//proto:network": "minimal",
|
|
},
|
|
)
|