Add formats GCCGO, GOLANG, HASKELL
[gruntmaster-daemon.git] / gruntmaster-compile
index aebbffc1f4376ecebf074537a068d01b0057f4cf..5228bddf144709b0572b171e7752183f37808e8d 100755 (executable)
@@ -21,6 +21,9 @@ if ($ret) {
                exec 'gmcs', '-d:ONLINE_JUDGE', $name when  'MONO';
                exec 'javac', $name when 'JAVA';
                exec 'fpc', qw/-dONLINE_JUDGE -O2/, $name when 'PASCAL';
+               exec 'go', qw/build -compiler gc/, $name when 'GOLANG';
+               exec 'go', qw/build -compiler gccgo/, $name, when 'GCCGO';
+               exec 'ghc', qw/-DONLINE_JUDGE -Wall -O2 -o/, $basename, $name when 'HASKELL';
                copy $name, $basename when ['PERL', 'PYTHON']
        }
 }
@@ -64,7 +67,7 @@ Compile commands for each format:
 
 =item PASCAL
 
-  fpc -dONLINE_JUDGE -O2 -n $input
+  fpc -dONLINE_JUDGE -O2 $input
 
 =item PERL
 
This page took 0.010169 seconds and 4 git commands to generate.