Print relative pathnames when compiling test files
authorOwen Rodley <Strigoides@gmail.com>
Tue, 9 Jul 2013 04:54:04 +0000 (16:54 +1200)
committerOwen Rodley <Strigoides@gmail.com>
Tue, 9 Jul 2013 04:54:04 +0000 (16:54 +1200)
Previously absolute pathnames were printed, in contrast the the relative
pathnames printed when compiling the rest of the project.

jscl.lisp

index 9dd2b5a..d2f321c 100644 (file)
--- a/jscl.lisp
+++ b/jscl.lisp
         (*compile-print-toplevels* print))
     (let* ((source (read-whole-file filename))
            (in (make-string-stream source)))
-      (format t "Compiling ~a...~%" filename)
+      (format t "Compiling ~a...~%" (enough-namestring filename))
       (loop
          with eof-mark = (gensym)
          for x = (ls-read in nil eof-mark)