Skip to content

Commit

Permalink
support whatever.BUILD bazel files
Browse files Browse the repository at this point in the history
It's common for external bazel workspaces to use external-project.BUILD files, as opposed to BUILD.bazel files. This is to differentiate them from the local workspace's bazel files. Hence, it would be good to treat these files like bazel files as well.
  • Loading branch information
TheButlah committed Apr 11, 2020
1 parent ca64e2c commit 2875d04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions identify/extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@
'.yamllint': EXTENSIONS['yaml'] | {'yamllint'},
'.zshrc': EXTENSIONS['zsh'],
'AUTHORS': EXTENSIONS['txt'],
'.BUILD': {'text', 'bazel'},
'BUILD.bazel': {'text', 'bazel'},
'BUILD': {'text', 'bazel'},
'CMakeLists.txt': EXTENSIONS['cmake'],
Expand Down

0 comments on commit 2875d04

Please sign in to comment.