diff options
author | Al Thomas <astavale@yahoo.co.uk> | 2014-05-01 17:51:42 +0100 |
---|---|---|
committer | Bastien Nocera <hadess@hadess.net> | 2015-02-05 15:19:49 +0100 |
commit | b74a0cd3ef6a8cacd83ef43ff4814fff763c52f5 (patch) | |
tree | a67ce1ed0977117c2e92cd704930becfaf85bee8 | |
parent | 440a4c6b864de477844eaae83dba3c3886e0e64f (diff) | |
download | shared-mime-info-b74a0cd3ef6a8cacd83ef43ff4814fff763c52f5.tar.gz |
Add text/x-genie mime type for Genie source code
https://bugs.freedesktop.org/show_bug.cgi?id=20783
-rw-r--r-- | freedesktop.org.xml.in | 6 | ||||
-rw-r--r-- | tests/list | 2 | ||||
-rw-r--r-- | tests/test.gs | 11 |
3 files changed, 19 insertions, 0 deletions
diff --git a/freedesktop.org.xml.in b/freedesktop.org.xml.in index 303ac63e..7321d40d 100644 --- a/freedesktop.org.xml.in +++ b/freedesktop.org.xml.in @@ -5305,6 +5305,12 @@ command to generate the output files. <glob pattern="*.f95"/> <glob pattern="*.for"/> </mime-type> + <mime-type type="text/x-genie"> + <_comment>Genie source code</_comment> + <sub-class-of type="text/plain"/> + <glob pattern="*.gs" case-sensitive="true"/> + <generic-icon name="text-x-generic"/> + </mime-type> <mime-type type="text/x-gettext-translation"> <_comment>translation file</_comment> <sub-class-of type="text/plain"/> @@ -270,6 +270,8 @@ simple-obj-c.m text/x-objcsrc ssh-public-key.txt text/plain # http://tools.ietf.org/html/draft-ietf-vcarddav-vcardrev-22 test.vcf text/vcard +# Genie source code +test.gs text/x-genie ox # Test Go source code test.go text/x-go oxo # Qt Quick (QML) file diff --git a/tests/test.gs b/tests/test.gs new file mode 100644 index 00000000..94c48ee8 --- /dev/null +++ b/tests/test.gs @@ -0,0 +1,11 @@ +class Sample : Object + init + pass + + def run() + print "Hello World" + +init + var sample = new Sample() + sample.run (); + |