Open nacl opened 3 years ago
Considerations for evaluating a choice:
autotools
style? (%{foo}
)Make
variables. ($(foo)
)CMake
(${FOO}
)? Maven
?$FOO
or ${FOO}
?)%FOO%
). Why not? There are more windows programmers than *ix people sometimes give credit for.My current vote is that python style will be the least surprising, because Starlark looks so much like Python, that carrying over idiomatic coding styles is more likely to be a win than matching another build tool style. Thus my vote is to unify around {var}
.
Resolved. We will use {var}
rules_pkg
uses multiple template variables throughout the codebase, including:%VAR%
{VAR}
${VAR}
Pick one (not necessarily from these), and make all uses consistent where possible. It may not be in some locations (like in the
pkg_rpm
script._Originally posted by @aiuto in https://github.com/bazelbuild/rules_pkg/pull/380#discussion_r670118887_