mirror of
https://gitlab.com/pulsechaincom/prysm-pulse.git
synced 2025-01-03 00:27:38 +00:00
fix transitions (#9804)
This commit is contained in:
parent
13ddc171eb
commit
c6874e33f7
@ -16,6 +16,8 @@ def _go_test_transition_impl(settings, attr):
|
|||||||
if attr.gotags:
|
if attr.gotags:
|
||||||
settings["@io_bazel_rules_go//go/config:tags"] += attr.gotags
|
settings["@io_bazel_rules_go//go/config:tags"] += attr.gotags
|
||||||
|
|
||||||
|
if str(settings["//command_line_option:compilation_mode"]) == "dbg":
|
||||||
|
settings["@io_bazel_rules_go//go/config:debug"] = True
|
||||||
return settings
|
return settings
|
||||||
|
|
||||||
go_test_transition = transition(
|
go_test_transition = transition(
|
||||||
@ -23,10 +25,14 @@ go_test_transition = transition(
|
|||||||
inputs = [
|
inputs = [
|
||||||
"@io_bazel_rules_go//go/config:tags",
|
"@io_bazel_rules_go//go/config:tags",
|
||||||
"//proto:network",
|
"//proto:network",
|
||||||
|
"//command_line_option:compilation_mode",
|
||||||
|
"@io_bazel_rules_go//go/config:debug",
|
||||||
],
|
],
|
||||||
outputs = [
|
outputs = [
|
||||||
"@io_bazel_rules_go//go/config:tags",
|
"@io_bazel_rules_go//go/config:tags",
|
||||||
"//proto:network",
|
"//proto:network",
|
||||||
|
"//command_line_option:compilation_mode",
|
||||||
|
"@io_bazel_rules_go//go/config:debug",
|
||||||
],
|
],
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user