Add GolfScript
authorMarius Gavrilescu <marius@ieval.ro>
Sun, 22 Mar 2015 21:26:16 +0000 (23:26 +0200)
committerMarius Gavrilescu <marius@ieval.ro>
Sun, 22 Mar 2015 21:26:16 +0000 (23:26 +0200)
lib/Plack/App/Gruntmaster.pm
tmpl/pb_entry.en

index 4830d4be096ba6e65fc5fa2842818c05d909e378..8aa42d276d398e0e381352ac199b8111dde104e4 100644 (file)
@@ -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',
index 6398e631b7617fd5b1f121f71ab446979e76e9fd..5c5072cc15d117e67abc5ed8787ca9d0a782e729 100644 (file)
@@ -35,6 +35,7 @@ To submit solutions to this problem, please visit the problem <a href="/pb/id">o
 <option value="CPP" selected>C++ (g++)</option>
 <option value="GCCGO">Go (gccgo)</option>
 <option value="GOLANG">Go (gc)</option>
+<option value="GOLFSCRIPT">Golfscript (golfscript.rb)</option>
 <option value="HASKELL">Haskell (ghc)</option>
 <option value="JAVA">Java (javac)</option>
 <option value="PASCAL">Pascal (fpc)</option>
This page took 0.011521 seconds and 4 git commands to generate.