green-match-66337
05/23/2022, 10:33 PMwitty-crayon-22786
05/23/2022, 11:09 PMexperimental_shell_command
: https://www.pantsbuild.org/docs/run-shell-commands … but note that the process will run in a sandbox.witty-crayon-22786
05/23/2022, 11:10 PMgreen-match-66337
05/23/2022, 11:16 PMwitty-crayon-22786
05/23/2022, 11:18 PMexperimental_shell_command
to consume a pex_binary
and manipulate it.witty-crayon-22786
05/23/2022, 11:20 PMpex_binary(name='a', ..)
experimental_shell_command(name='b', dependencies=['a'], ..)
archive(name='c', dependencies=['b'], ..)
…would allow you to create an archive after manipulating a PEX. but feeding a PEX through a script like this loses type information: it’s no longer a PEX from Pants’ perspectivewitty-crayon-22786
05/23/2022, 11:22 PMvenv
execution_mode, latency should be within 50 ms of an existing venv after the first rungreen-match-66337
05/23/2022, 11:25 PMgreen-match-66337
05/23/2022, 11:25 PMgreen-match-66337
05/23/2022, 11:25 PMwitty-crayon-22786
05/23/2022, 11:26 PMexperimental_shell_command
should be roughly equivalent to genrule
witty-crayon-22786
05/23/2022, 11:33 PMgreen-match-66337
05/23/2022, 11:39 PMhappy-kitchen-89482
05/24/2022, 5:39 AMgreen-match-66337
05/24/2022, 5:39 AMhappy-kitchen-89482
05/24/2022, 1:32 PM