From: Marius Gavrilescu Date: Sun, 28 Sep 2014 07:13:27 +0000 (+0300) Subject: Add GOLANG, GCCGO, HASKELL X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=a5e355d61767a14f7a5cccc989f3abd72ee2ad79;p=plack-app-gruntmaster.git Add GOLANG, GCCGO, HASKELL --- diff --git a/lib/Plack/App/Gruntmaster.pm b/lib/Plack/App/Gruntmaster.pm index 3c26ecf..f647783 100644 --- a/lib/Plack/App/Gruntmaster.pm +++ b/lib/Plack/App/Gruntmaster.pm @@ -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',