diff options
author | Søren Spætte <spaette@outlook.com> | 2022-11-05 19:18:17 +0000 |
---|---|---|
committer | David Faure <faure@kde.org> | 2022-11-05 19:18:17 +0000 |
commit | fea642e9a88fffc8fb14793a5cbd6c4031d4271b (patch) | |
tree | 955fe536d8d4138cdd2b34de682dface50913119 | |
parent | f4e7cbc86e67e7bc39cf8167823fcf0d8ace9ce1 (diff) | |
download | shared-mime-info-fea642e9a88fffc8fb14793a5cbd6c4031d4271b.tar.gz |
Add text/julia for Julia source code
-rw-r--r-- | data/freedesktop.org.xml.in | 5 | ||||
-rw-r--r-- | tests/mime-detection/list | 1 | ||||
-rw-r--r-- | tests/mime-detection/test.jl | 1 |
3 files changed, 7 insertions, 0 deletions
diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in index 082416db..95d769ad 100644 --- a/data/freedesktop.org.xml.in +++ b/data/freedesktop.org.xml.in @@ -3704,6 +3704,11 @@ command to generate the output files. <glob pattern="*.cr"/> <alias type="text/crystal"/> </mime-type> + <mime-type type="text/julia"> + <comment>Julia source code</comment> + <sub-class-of type="text/plain"/> + <glob pattern="*.jl"/> + </mime-type> <mime-type type="text/rust"> <comment>Rust source code</comment> <sub-class-of type="text/plain"/> diff --git a/tests/mime-detection/list b/tests/mime-detection/list index 29955b8c..60227049 100644 --- a/tests/mime-detection/list +++ b/tests/mime-detection/list @@ -430,6 +430,7 @@ test.ttl text/turtle ox test.twig text/x-twig ox # Crystal test.cr text/x-crystal ox +test.jl text/julia ox test.rs text/rust ox # Copied from http://digital-preservation.github.io/csv-schema/csv-schema-1.0.html#basics test.csvs text/csv-schema ox diff --git a/tests/mime-detection/test.jl b/tests/mime-detection/test.jl new file mode 100644 index 00000000..3a4e995f --- /dev/null +++ b/tests/mime-detection/test.jl @@ -0,0 +1 @@ +println("hello world") |