https://pantsbuild.org/ logo
f

fast-nail-55400

04/12/2021, 6:57 PM
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

hundreds-father-404

04/12/2021, 6:58 PM
f

fast-nail-55400

04/12/2021, 7:04 PM
okay that worked, thanks
6 Views