Re: asdf load source

Gary King <[email protected]>
Newsgroups gmane.lisp.cclan.general
Message-ID <[email protected]>
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


-- 
Gary Warren King
metabang.com
http://www.metabang.com/
(413) 210 7511
gwking on #lisp (occasionally)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.