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

aloof-angle-91616

02/24/2020, 4:14 PM
did we fix the issue where filesystem specs wouldn't find a target if the BUILD file was higher up than the immediate parent directory? @happy-kitchen-89482 @hundreds-father-404
h

hundreds-father-404

02/24/2020, 4:15 PM
What’s the issue? This is the first I’ve heard of that
Run
./v2 list src/python/pants/util/strutil.py
. It will correctly find two targets, including one that is defined in a grandparent directory via a
files()
target
a

aloof-angle-91616

02/24/2020, 4:20 PM
i posted about it in #engine a week ago i'll find it
oh
if the filesystem spec is before the goal pants can't see any goals
is the issue
h

hundreds-father-404

02/24/2020, 4:26 PM
That’s expected. Our grammar is
./pants <global-options> <goal> <goal-options> <specs> -- <passthrough args>
4 Views