https://pantsbuild.org/ logo
l

lemon-noon-33245

05/16/2023, 8:09 PM
Is there a way to pass environment variables to an
adhoc_tool
target? I’m using
pnpm
as a
system_binary
and I need to pass an argument to the build script. Since I can only do that by using environment variables, I was hoping to be able to add it somehow to
system_binary
or
adhoc_tool
.
e

enough-analyst-54434

05/16/2023, 8:12 PM
t

thankful-stone-5860

05/16/2023, 8:13 PM
l

lemon-noon-33245

05/16/2023, 8:14 PM
Perfect! I was looking at the code and couldn’t find it. Didn’t look in the documentation, sorry!!! 😞
Thanks for pointing it out
3 Views