-
Notifications
You must be signed in to change notification settings - Fork 180
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Expand make variables in write_file content and expand_template substitutions #442
Comments
This is a reasonable request, but note that we'd need an ergonomic way to specify how to map from variable names to substitution keys (e.g. are you using |
Strong vote for
As an alternative, |
To clarify, this is about substitution of Make Variables. There's no need to specify any kind of mapping here, as that's already defined. The rule implementation just needs to call |
I think the appropriate solution to this issue would be such a suitable replacement. With sufficient flexibility to support |
If a user wants make variable substitution, they need to either write their own versions of these rules or else fall back to genrule.
I assume a boolean attribute would need to be added to toggle this behavior as it wouldn't be backwards-compatible.
The text was updated successfully, but these errors were encountered: