Skip to content

Commit

Permalink
Add bitbake extensions and files
Browse files Browse the repository at this point in the history
Files and extentions of bitbake are taken from the tool
documetantion [1].

[1] https://docs.yoctoproject.org/bitbake/2.6/bitbake-user-manual/bitbake-user-manual-metadata.html
  • Loading branch information
vlotorev authored Nov 19, 2024
1 parent 6fd6f6b commit 7116aa1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions identify/extensions.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
'bat': {'text', 'batch'},
'bats': {'text', 'shell', 'bash', 'bats'},
'bazel': {'text', 'bazel'},
'bb': {'text', 'bitbake'},
'bbappend': {'text', 'bitbake'},
'bbclass': {'text', 'bitbake'},
'beancount': {'text', 'beancount'},
'bib': {'text', 'bib'},
'bmp': {'binary', 'image', 'bitmap'},
Expand Down Expand Up @@ -343,6 +346,8 @@
'.zshrc': EXTENSIONS['zsh'],
'.zshenv': EXTENSIONS['zsh'],
'AUTHORS': EXTENSIONS['txt'],
'bblayers.conf': EXTENSIONS['bb'],
'bitbake.conf': EXTENSIONS['bb'],
'BUILD': EXTENSIONS['bzl'],
'Cargo.toml': EXTENSIONS['toml'] | {'cargo'},
'Cargo.lock': EXTENSIONS['toml'] | {'cargo-lock'},
Expand Down

0 comments on commit 7116aa1

Please sign in to comment.