From d39978bf1b98cfb0e80615e2f994883db28d25b1 Mon Sep 17 00:00:00 2001 From: Marius Gavrilescu Date: Sun, 22 Mar 2015 23:26:16 +0200 Subject: [PATCH] Add GolfScript --- lib/Plack/App/Gruntmaster.pm | 2 ++ tmpl/pb_entry.en | 1 + 2 files changed, 3 insertions(+) diff --git a/lib/Plack/App/Gruntmaster.pm b/lib/Plack/App/Gruntmaster.pm index 4830d4b..8aa42d2 100644 --- a/lib/Plack/App/Gruntmaster.pm +++ b/lib/Plack/App/Gruntmaster.pm @@ -29,6 +29,7 @@ use constant CONTENT_TYPES => +{ cpp => 'text/x-c++src', cs => 'text/x-csharp', # Used by GNOME. Not in mime.types. go => 'text/plain', # ? + gs => 'text/plain', hs => 'text/x-haskell', java => 'text/x-java', pas => 'text/x-pascal', @@ -43,6 +44,7 @@ use constant FORMAT_EXTENSION => { CPP => 'cpp', GCCGO => 'go', GOLANG => 'go', + GOLFSCRIPT => 'gs', HASKELL => 'hs', MONO => 'cs', JAVA => 'java', diff --git a/tmpl/pb_entry.en b/tmpl/pb_entry.en index 6398e63..5c5072c 100644 --- a/tmpl/pb_entry.en +++ b/tmpl/pb_entry.en @@ -35,6 +35,7 @@ To submit solutions to this problem, please visit the problem o + -- 2.30.2