[asdf-devel] asdf with-compilation-unit

Robert Goldman rpgoldman at sift.info
Tue Dec 13 16:04:55 UTC 2011


On 12/13/11 Dec 13 -9:28 AM, Mark H. David wrote:
> Is there any way to have ASDF compile several files with
> with-compilation-unit wrapped around the compilation?
> 
> _______________________________________________
> asdf-devel mailing list
> asdf-devel at common-lisp.net
> http://lists.common-lisp.net/cgi-bin/mailman/listinfo/asdf-devel

That's the default mode of operation:

(defmethod perform-plan ((steps list) &key)
  (let ((*package* *package*)
        (*readtable* *readtable*))
    (with-compilation-unit ()
      (loop :for (op . component) :in steps :do
        (perform-with-restarts op component)))))

Cheers,
r





More information about the asdf-devel mailing list