identify
identify copied to clipboard
Feature request: classify whatever.BUILD files as bazel files
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$
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
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