If I want to, for example, add a symbol with a value to a list, that is not possible right now.
buildozer 'add tags SOME_CONST' //pkg:target
-->
some_rule(
name = "target",
tags = ["SOME_CONST"],
...
)
What I want is the ability to do something such as:
buildozer --symbol 'add tags SOME_CONST' //pkg:target
-->
some_rule(
name = "target",
tags = [SOME_CONST],
...
)
and
buildozer --symbol 'set tags LIST_CONST' //pkg:target
-->
some_rule(
name = "target",
tags = LIST_CONST,
...
)
In this way, we can use buildozer better for larger refactors if we want to centralize control of a few key attributes without needing to create a mess of macros and rules.
If I want to, for example, add a symbol with a value to a list, that is not possible right now.
What I want is the ability to do something such as:
and
In this way, we can use buildozer better for larger refactors if we want to centralize control of a few key attributes without needing to create a mess of macros and rules.