identify icon indicating copy to clipboard operation
identify copied to clipboard

Feature request: classify whatever.BUILD files as bazel files

Open TheButlah opened this issue 5 years ago • 2 comments

Currently identify has support for BUILD and BUILD.bazel files. it would be good to add support for *.BUILD files as well.

In case its helpful, here is the relevant regex that should describe a bazel file, when matching against a filepath:

^(.*/)?(BUILD\.bazel|BUILD)$|\.BUILD$

TheButlah avatar Apr 14 '20 17:04 TheButlah

can you provide a reference for this? as far as I can tell in the official bazel docs they only use BUILD or BUILD.bazel

asottile avatar Nov 19 '21 01:11 asottile

Here you go! https://docs.bazel.build/versions/1.2.0/external.html#depending-on-non-bazel-projects

Common to have a third_party folder, with dep1.BUILD, dep2.BUILD, to bazelify non bazel projects

TheButlah avatar Nov 19 '21 22:11 TheButlah