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

aloof-angle-91616

04/20/2020, 6:47 PM
the buildroot (where everything in pants is relative to) is determined (by definition) by walking upward from the current directory to find a file named
pants
, as you discovered
b

bulky-evening-62934

04/20/2020, 6:51 PM
Thanks for quick reply!
a

aloof-angle-91616

04/20/2020, 6:51 PM
:D!
h

happy-kitchen-89482

04/20/2020, 8:32 PM
In this case you might want to use the name
BUILDROOT
, to avoid confusion with
./pants
as a running script.
👍 1
3 Views