https://pantsbuild.org/ logo
i

incalculable-grass-76623

07/20/2022, 5:00 AM
and a last question how do i tell pants, please "execute"
experimental_run_shell_command
or
experimental_shell_command
h

happy-kitchen-89482

07/21/2022, 11:05 PM
You would run
./pants run path/to:target
typically
(that is for experimental_run_shell_command)
For
experimental_shell_command
, doing ~anything (specifically, anything that uses source files, such as testing or packaging) on a target that depends on the
experimental_shell_command
target, will invoke it, and its outputs will be in the sandbox for the downstream actions
3 Views