-
Notifications
You must be signed in to change notification settings - Fork 209
Open
Description
Currently, you can use plz generate //path/to:rule
with a rule that contains the codegen
label, to build and then soft or hard link the output back to the source tree. However, it is not possible to either copy the output or update an existing file in the source using this method.
This would be a very useful feature when dealing with things like generating translation files, which have to be edited and updated separately.
That is, where a rule can extract all the required strings in the source into its output, and then a translator can edit them and add the translations. Later, when there are new strings that need to be translated in the source, the generate command can be run again to update the file with new strings.
Metadata
Metadata
Assignees
Labels
No labels