Re: asdf load source
"Robert P. Goldman" <[email protected]>
| Newsgroups | gmane.lisp.cclan.general |
|---|---|
| Message-ID | <[email protected]> |
Given the number of people who are writing the same snippet of code and inserting it into their own ASDF system definition files, shouldn't we be adding a load-only-cl-source-file into ASDF proper? I think that this constitutes a strong, if implicit, request for a new feature. Best, R Gary King wrote: > Hi Lou, > > I think that the short answer is no... here is what I use in ASDF- > Binary-Locations: > > (defclass load-only-file-mixin () > ()) > > (defclass load-only-cl-source-file (load-only-file-mixin cl-source-file) > ()) > > (defmethod perform ((op compile-op) (component load-only-file-mixin)) > nil) > > (defmethod perform ((op load-op) (component load-only-cl-source-file)) > (load (component-pathname component))) > > (defsystem asdf-binary-locations > :version "0.1" > :author "Gary Warren King <[email protected]>" > :maintainer "Gary Warren King <[email protected]>" > :licence "MIT Style License" > :description "Put compiled Lisp files in their places." > > :components ((:module > "dev" > :components ((:load-only-cl-source-file "main") > > (:static-file "notes.text"))) > > (:module > "website" > :components ((:module "source" > :components ((:static-file > "index.lml"))))))) > > On Jun 8, 2006, at 9:27 AM, Lou Vanek wrote: > > >>Is there a way to get asdf to load the .lisp file instead of >>compiling and >>loading the .fas file? I know I can write my own load-op but I'm >>wondering >>whether there's a magic switch or something. (Clisp . 2.38) >>(ASDF . 1.97) (Win >>. XP) (Cygwin . 1.5.19) >> >>-lv >>who's always looking for the magic switch, >>and knows enough to stay away from the big red button. >> >> >> >>_______________________________________________ >>cclan-list mailing list >>[email protected] >>https://lists.sourceforge.net/lists/listinfo/cclan-list > > >