Add GOLANG, GCCGO, HASKELL
authorMarius Gavrilescu <marius@ieval.ro>
Sun, 28 Sep 2014 07:13:27 +0000 (10:13 +0300)
committerMarius Gavrilescu <marius@ieval.ro>
Sun, 28 Sep 2014 07:13:27 +0000 (10:13 +0300)
lib/Plack/App/Gruntmaster.pm

index 3c26ecfd0cbd69a9151fdb0ece3037eb60193be6..f647783e61ac9d1b7ad4c8c7eafb98af6df3ff07 100644 (file)
@@ -28,6 +28,8 @@ use constant CONTENT_TYPES => +{
        c => 'text/x-csrc',
        cpp => 'text/x-c++src',
        cs => 'text/x-csharp', # Used by GNOME. Not in mime.types.
+       go => 'text/plain', # ?
+       hs => 'text/x-haskell',
        java => 'text/x-java',
        pas => 'text/x-pascal',
        pl => 'text/x-perl',
@@ -37,6 +39,9 @@ use constant CONTENT_TYPES => +{
 use constant FORMAT_EXTENSION => {
        C => 'c',
        CPP => 'cpp',
+       GCCGO => 'go',
+       GOLANG => 'go',
+       HASKELL => 'hs',
        MONO => 'cs',
        JAVA => 'java',
        PASCAL => 'pas',
This page took 0.011177 seconds and 4 git commands to generate.