<@U0D9ZAH98>: For --exclude-target-regexp, sometim...
# general
a
@red-cpu-25099: For --exclude-target-regexp, sometimes folks specify this on the command line to work around broken targets temporarily. We also have some values baked in to our pants.ini:
Copy code
# ":aux-"
#    At Square, we generated BUILD.aux files automatically if a handwritten build file is present.
#    By default, ignore those targets unless they are referenced directly by another target.
# "/target/", "/target:"
#    Exclude BUILD files copied under maven target directories
# "net.sf.gqrinder.grinder"
#    Exclude this target - it pulls in a maven dep that is meant to work with the clojure plugin that pants doesn't understand
exclude_target_regexp: [
    ":aux-",
    "/target/", "/target:",
    "net.sf.grinder.grinder"
  ]