how do I disable Pants from looking in a directory...
# general
f
how do I disable Pants from looking in a directory for BUILD files? (context: I don’t want Pants to see BUILD files with targets from an experimental backend unless that backend is enabled.) I tried to use a
!path/to/dir
pattern in
source.root_pattetrns
but Pants still tries to parse a BUILD file under that directory and errors when it sees a target there that is defined by the disabled backend.
h
f
okay that worked, thanks