dazzling-diamond-4749
10/01/2021, 3:56 AMhappy-kitchen-89482
10/01/2021, 4:02 AMdazzling-diamond-4749
10/01/2021, 4:03 AMhundreds-father-404
10/01/2021, 4:07 AMrelocated_files
target might also be a better example for you https://github.com/pantsbuild/pants/blob/3dde4f922c4f539003f64f24091f1f76169e149f/src/python/pants/core/target_types.py#L80-L204
It too "generates" files
based on fields from the target, and it doesn't actually have sources
. It only registers a private field called _sources
in order to use the plugin hookcurved-television-6568
10/01/2021, 10:44 AMexperimental_shell_command
could be useful (to at least know about) .. ?curved-television-6568
10/01/2021, 10:45 AMdazzling-diamond-4749
10/07/2021, 8:38 PMexperimental_shell_command
is exactly what I need. π
Any chance for a future python_command
? So we can plug in more complicated logic.curved-television-6568
10/07/2021, 8:47 PMhundreds-father-404
10/07/2021, 8:59 PMdazzling-diamond-4749
10/07/2021, 9:00 PMexperimental_shell_command
curved-television-6568
10/08/2021, 10:57 AMexperimental_shell_command
do what we need to instead.. π
PR for pex support here: https://github.com/pantsbuild/pants/pull/13168curved-television-6568
10/08/2021, 10:59 AMtools
field.