Skip to content

Commit c9120ff

Browse files
authored
Merge pull request #206 from Slowki/more-bazel-is-better-bazel
Improve Bazel Support
2 parents bfc1fe4 + bec268e commit c9120ff

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

identify/extensions.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
'bib': {'text', 'bib'},
1010
'bmp': {'binary', 'image', 'bitmap'},
1111
'bz2': {'binary', 'bzip2'},
12+
'bzl': {'text', 'bazel'},
1213
'c': {'text', 'c'},
1314
'cc': {'text', 'c++'},
1415
'cfg': {'text'},
@@ -262,8 +263,8 @@
262263
'.zshrc': EXTENSIONS['zsh'],
263264
'.zshenv': EXTENSIONS['zsh'],
264265
'AUTHORS': EXTENSIONS['txt'],
265-
'BUILD': {'text', 'bazel'},
266-
'BUILD.bazel': {'text', 'bazel'},
266+
'BUILD': EXTENSIONS['bzl'],
267+
'BUILD.bazel': EXTENSIONS['bzl'],
267268
'CMakeLists.txt': EXTENSIONS['cmake'],
268269
'CHANGELOG': EXTENSIONS['txt'],
269270
'CONTRIBUTING': EXTENSIONS['txt'],
@@ -287,4 +288,5 @@
287288
'README': EXTENSIONS['txt'],
288289
'Rakefile': EXTENSIONS['rb'],
289290
'setup.cfg': EXTENSIONS['ini'],
291+
'WORKSPACE': EXTENSIONS['bzl'],
290292
}

0 commit comments

Comments
 (0)