aloof-zoo-84089
12/28/2023, 3:49 PMshell_sources
with a script
• shell_command
depending on the above and running the script outputting a file
• resources
depending on the above and using the file as a resource
• ...bits of a Python app that use the resources
This breaks at the shell_command
--> thread for more details.aloof-zoo-84089
12/28/2023, 3:50 PMaloof-zoo-84089
12/28/2023, 3:51 PMshell_command
to executed exit 1
and pants run
on the app doesn't fail as I would expect it to.aloof-zoo-84089
12/28/2023, 3:51 PMshell_command
isn't running at all.aloof-zoo-84089
12/28/2023, 3:52 PMshell_command
independently, and I'm not sure which goals it supports, but the docs suggest that the way I'm using it would be expected to work.aloof-zoo-84089
12/28/2023, 3:53 PMshell_command
to be runnable independently, and to have run to allow dependent targets to run.aloof-zoo-84089
12/28/2023, 3:55 PM--no-local-cache --no-pantsd
in an attempt to remove all caching variables.aloof-zoo-84089
12/28/2023, 3:56 PMaloof-zoo-84089
12/28/2023, 3:57 PMaloof-zoo-84089
12/28/2023, 4:01 PMresources
must essentially take a limited copy of the source tree, whereas shell_command
runs in a sandbox.
This doesn't explain the shell_command
not running though.aloof-zoo-84089
12/28/2023, 4:05 PMexperimental_wrap_as_resources
might be the answer.aloof-zoo-84089
12/28/2023, 4:05 PMaloof-zoo-84089
12/28/2023, 4:05 PM