creamy-airplane-38079
11/12/2021, 9:33 PM./pants --changed-parent=origin/main list
in the directory I have defined my sentinal/root files but I am getting an error
Globs may not traverse outside of the buildroot: "../../BUILD"
as there is indeed a BUILD file in that location, but in the interim I would like for my pants environment to ignore any target outside of my current directory and only ack child targets. Is there some toml file tweak that I can do to let pants ignore anything outside of my current directory ? I tried adding ../../BUILD*
to pants_ignore
but no luckhundreds-father-404
11/15/2021, 4:43 PM../../BUILD
show up anywhere with grep? Specifically I'm wondering if you are using ../
in any BUILD files, like sources=["../foo.py"]
. That won't work, and I wonder if it's that with just a really bad error message
Generally, it'd be helpful to search
rg '../' -g 'BUILD'