Add SBCL
[gruntmaster-daemon.git] / gruntmaster-compile
index 5af89b96dfc0dbecc086bc55daa6c118e0c61fa2..af72ff81f211197c9d15bf5ab3480c509de94566 100755 (executable)
@@ -28,6 +28,12 @@ given ($format){
        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';
+       when ('SBCL') {
+               system 'sbcl', '--noinform', '--eval', qq/(compile-file "$name")/, '--quit' and die "sbcl failed: errno=$! return=$?";
+               rename "$basename.fasl", $basename;
+               chmod 0755, $basename;
+               exit
+       }
 
        when ([qw/PERL PYTHON/]){
                open IN, '<', $name;
This page took 0.009557 seconds and 4 git commands to generate.