3 exec sbcl
--script "$0" "$0" "$@"
6 (require
'sb-executable)
8 (let* ((args (cdr *posix-argv*))
12 ((string= cmd "build")
15 (unless (compile-file file :verbose nil :print nil)
17 (quit :unix-status rc)))
19 (let ((out (pop args)))
20 (sb-executable:make-executable out args)))
22 (format *error-output* "~A: unknown command `~A'~
%" prog cmd)
23 (quit :unix-status 1))))