facebook / buck2

Build system, successor to Buck
https://buck2.build/
Apache License 2.0
3.33k stars 194 forks source link

Distributed project.ignore #613

Open dmezh opened 1 month ago

dmezh commented 1 month ago

Today, you can tell buck2 to ignore files using ignore = in [project] in .buckconfig. Maybe we could support something like a .buckignore file (semantically equivalent to .gitignore/.hgignore)? If we could specify a spec for this filename in buckconfig and adopt .git/hgignore syntax, we could even reuse existing .git/hgignore files.

This differs from .bazelignore which is still only one file at the root (afaict).