Skip to content

Commit 41e6df2

Browse files
authored
Merge pull request #365 from JustScreaMy/add-meson
Add meson
2 parents 1f8349c + 1c50396 commit 41e6df2

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

identify/extensions.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@
138138
'markdown': {'text', 'markdown'},
139139
'md': {'text', 'markdown'},
140140
'mdx': {'text', 'mdx'},
141+
'meson': {'text', 'meson'},
141142
'mib': {'text', 'mib'},
142143
'mjs': {'text', 'javascript'},
143144
'mk': {'text', 'makefile'},
@@ -333,6 +334,8 @@
333334
'LICENSE': EXTENSIONS['txt'],
334335
'MAINTAINERS': EXTENSIONS['txt'],
335336
'Makefile': EXTENSIONS['mk'],
337+
'meson.build': EXTENSIONS['meson'],
338+
'meson_options.txt': EXTENSIONS['meson'],
336339
'makefile': EXTENSIONS['mk'],
337340
'NEWS': EXTENSIONS['txt'],
338341
'NOTICE': EXTENSIONS['txt'],

tests/identify_test.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -165,6 +165,8 @@ def test_tags_from_path_plist_text(tmpdir):
165165
('Jenkinsfile', {'text', 'groovy', 'jenkins'}),
166166
('build.jenkins', {'text', 'groovy', 'jenkins'}),
167167
('build.jenkinsfile', {'text', 'groovy', 'jenkins'}),
168+
('meson.build', {'text', 'meson'}),
169+
('meson_options.txt', {'text', 'plain-text', 'meson'}),
168170
169171
# does not set binary / text
170172
('f.plist', {'plist'}),

0 commit comments

Comments
 (0)