https://pantsbuild.org/ logo
#general
Title
# general
f

freezing-lamp-12123

12/02/2022, 1:31 PM
and now that i’m here — from a goal rule — is there an idiomatic way to build a request for a target that would run the equivalent of
./pants $goal $address
… i’m struggling with finding the correct way to “wrap” / hydrate my target — is there a way to achieve this without having to dig into the internals of how the run request is implemented in a certain backend?
h

happy-kitchen-89482

12/02/2022, 4:44 PM
I don’t think there is a generic way to do that, given a string name of a goal, although that’s not a bad idea.
Is this for a specific goal though?
Can you give a little more context?
f

freezing-lamp-12123

12/02/2022, 4:45 PM
yes, could be run on a
docker_image
for instance
i think i need to answer another question for myself — what does it actually mean to depend on a target … with respect to its outputs?
6 Views