diff options
author | Jan Tojnar <jtojnar@gmail.com> | 2020-12-27 23:43:26 +0100 |
---|---|---|
committer | David Faure <faure@kde.org> | 2021-01-10 09:45:51 +0000 |
commit | ef28b6132d4889575b9283980e78129ed040e6fb (patch) | |
tree | 9f3af9e65d875d36d837897aa61e3b36de602b94 | |
parent | 7bcf225defe8ee72c8c3aa44180b1c4665e5143e (diff) | |
download | shared-mime-info-ef28b6132d4889575b9283980e78129ed040e6fb.tar.gz |
Add text/x-dart
Dart is a programming language by Google.
https://dart.dev/
-rw-r--r-- | data/freedesktop.org.xml.in | 5 | ||||
-rw-r--r-- | tests/mime-detection/list | 3 | ||||
-rw-r--r-- | tests/mime-detection/test.dart | 3 |
3 files changed, 11 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in index 640ab648..1e9c5eee 100644 --- a/data/freedesktop.org.xml.in +++ b/data/freedesktop.org.xml.in @@ -6346,6 +6346,11 @@ command to generate the output files. <glob pattern="*.diff"/> <glob pattern="*.patch"/> </mime-type> + <mime-type type="text/x-dart"> + <comment>Dart source code</comment> + <sub-class-of type="text/plain"/> + <glob pattern="*.dart"/> + </mime-type> <mime-type type="text/x-go"> <comment>Go source code</comment> <sub-class-of type="text/plain"/> diff --git a/tests/mime-detection/list b/tests/mime-detection/list index b225711d..6723391c 100644 --- a/tests/mime-detection/list +++ b/tests/mime-detection/list @@ -796,6 +796,9 @@ FF6FR.IPS application/x-ips-patch test.pys application/x-pyspread-bz-spreadsheet oxo test.pysu application/x-pyspread-spreadsheet +# Dart source code +test.dart text/x-dart oxo + # Kotlin source code test.kt text/x-kotlin ox diff --git a/tests/mime-detection/test.dart b/tests/mime-detection/test.dart new file mode 100644 index 00000000..f3ff17a4 --- /dev/null +++ b/tests/mime-detection/test.dart @@ -0,0 +1,3 @@ +void main() { + print('Hello, World!'); +} |