[asdf-devel] loading a standalone lisp file

Stelian Ionescu sionescu at cddr.org
Wed Oct 28 14:35:30 UTC 2009


On Wed, 2009-10-28 at 15:00 +0100, Tamas Papp wrote:
> Hi,
> 
> If I have an ASDF system that :depends-on various other ones _and_
> some other library that does not have and .asd file (eg it is a
> standalone .lisp file), what is the standard way of loading the
> latter?  I am looking for something that eg automates manually
> executing
> 
> (load (compile-file "/path/foo.lisp"))
> 
> and how to incorporate this into a defsystem.

Caveat lector: the following is untested.

(defsystem :foo
  :depends-on (:asdf-system-1 :asdf-system-2)
  :in-order-to ((compile-op ()
                 (compile-file "/path/foo.lisp")))
  :in-order-to ((load-op ()
                 (load "/path/foo"))))

-- 
Stelian Ionescu a.k.a. fe[nl]ix
Quidquid latine dictum sit, altum videtur.
http://common-lisp.net/project/iolib
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: This is a digitally signed message part
URL: <https://mailman.common-lisp.net/pipermail/asdf-devel/attachments/20091028/e31c9dc1/attachment.sig>


More information about the asdf-devel mailing list