https://pantsbuild.org/ logo
#development
Title
# development
h

hundreds-father-404

08/06/2020, 3:02 AM
Did we intend to have a
--build-patterns
option? It looks like we don’t: https://www.pantsbuild.org/v2.0/docs/reference-global
I’m adding it. I could have sworn I’ve seen it before though
h

happy-kitchen-89482

08/06/2020, 5:09 AM
What would this option do?
h

hundreds-father-404

08/06/2020, 5:13 AM
you can change the pattern to be something other than
[BUILD, BUILD.*]
for example, you might want to call your BUILD files
PANTS_BUILD
to differentiate from Bazel build files
We have all the code for this, just didn’t wire it up
w

witty-crayon-22786

08/06/2020, 4:11 PM
We have
--build-ignore
, and that could be used to shrink the default set (but not grow it)