From: Marius Gavrilescu Date: Sun, 22 Mar 2015 21:26:16 +0000 (+0200) Subject: Add GolfScript X-Git-Url: http://git.ieval.ro/?a=commitdiff_plain;h=d39978bf1b98cfb0e80615e2f994883db28d25b1;hp=6d4b4529219434f5d50dd28e17b6bda0e957864d;p=gruntmaster-page.git Add GolfScript --- 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 +