X-Git-Url: http://git.ieval.ro/?p=gruntmaster-daemon.git;a=blobdiff_plain;f=gruntmaster-compile;h=af72ff81f211197c9d15bf5ab3480c509de94566;hp=5af89b96dfc0dbecc086bc55daa6c118e0c61fa2;hb=c88da74dc640492d03acd18721be8b250bf82a2d;hpb=5b0c03b69d4a9087ec07a92d8273b240407ff663 diff --git a/gruntmaster-compile b/gruntmaster-compile index 5af89b9..af72ff8 100755 --- a/gruntmaster-compile +++ b/gruntmaster-compile @@ -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;