From 19ae0236be95b168d3049907cdd0c521f8dc45a3 Mon Sep 17 00:00:00 2001 From: GeopJr Date: Fri, 28 May 2021 15:06:23 +0000 Subject: Add text/x-crystal --- data/freedesktop.org.xml.in | 6 ++++++ tests/mime-detection/list | 2 ++ tests/mime-detection/test.cr | 1 + 3 files changed, 9 insertions(+) create mode 100644 tests/mime-detection/test.cr diff --git a/data/freedesktop.org.xml.in b/data/freedesktop.org.xml.in index d42b7001..0592a520 100644 --- a/data/freedesktop.org.xml.in +++ b/data/freedesktop.org.xml.in @@ -3615,6 +3615,12 @@ command to generate the output files. + + Crystal source code + + + + Rust source code diff --git a/tests/mime-detection/list b/tests/mime-detection/list index d408e21e..9f110da9 100644 --- a/tests/mime-detection/list +++ b/tests/mime-detection/list @@ -402,6 +402,8 @@ shell-calls-awk application/x-shellscript x test.ttl text/turtle ox # Twig template test.twig text/x-twig ox +# Crystal +test.cr text/x-crystal 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.cr b/tests/mime-detection/test.cr new file mode 100644 index 00000000..bf234ce7 --- /dev/null +++ b/tests/mime-detection/test.cr @@ -0,0 +1 @@ +puts "Hello, world!" -- cgit v1.2.1