proud-dentist-22844
06/14/2022, 5:34 PMasdf\n
to test outputing a "generated" file. Writing the "generated" file works as expected.
But ./pants export-codegen
puts all generated files under dist/codegen
- is there a way to get that written (or moved/copied) to the actual workspace?
Or is there a better generic goal that will update a generated file in the workspace? I don't want to create a custom goal for this.curved-television-6568
06/14/2022, 5:53 PMdist/codegen
path..
Perhaps a experimental_run_shell_command
could take that generated content as input (i.e. as a dependency) and have a small shell script that copies it out into your source tree. And that would be triggered by a ./pants run :your_shell_command
proud-dentist-22844
06/14/2022, 7:47 PMproud-dentist-22844
06/14/2022, 7:49 PMcurved-television-6568
06/14/2022, 7:52 PM