From a5e355d61767a14f7a5cccc989f3abd72ee2ad79 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Sun, 28 Sep 2014 10:13:27 +0300 Subject: [PATCH] Add GOLANG, GCCGO, HASKELL --- lib/Plack/App/Gruntmaster.pm | 5 +++++ 1 file changed, 5 insertions(+) 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', -- 2.39.2