proud-dentist-22844
02/14/2023, 2:54 AMgenerate goal for version-controlled generated files: https://github.com/pantsbuild/pants/discussions/18235 wdyt?proud-dentist-22844
02/14/2023, 4:41 AMadhoc_tool the output_files and output_directories are standard pants codegen right? Or does the output get materialized in the build root so that it can be committed to version control?ancient-vegetable-10556
02/14/2023, 4:42 AMproud-dentist-22844
02/14/2023, 4:46 AM./pants run path/to/some:adhoc_tool? Does that (a) work and (b) materialize the output?ancient-vegetable-10556
02/14/2023, 4:46 AMancient-vegetable-10556
02/14/2023, 4:46 AMancient-vegetable-10556
02/14/2023, 4:46 AMproud-dentist-22844
02/14/2023, 4:47 AMancient-vegetable-10556
02/14/2023, 4:50 AMproud-dentist-22844
02/14/2023, 4:51 AMadhoc_tool for generated stuff, and then another target that owns the generated files and makes them materialize in the build root when someone runs the generate goalproud-dentist-22844
02/14/2023, 4:54 AMproud-dentist-22844
02/14/2023, 5:05 AMsomething_generated(
generator=adhoc_tool(
runnable=...,
)
)ancient-vegetable-10556
02/14/2023, 5:06 AMproud-dentist-22844
02/14/2023, 5:20 AMancient-vegetable-10556
02/14/2023, 5:20 AMexperimental_wrap_as_* targetsproud-dentist-22844
02/14/2023, 5:26 AM