Re: asdf load source

Lou Vanek <[email protected]>
Newsgroups gmane.lisp.cclan.general
Message-ID <[email protected]>
Thanks, Gary, it worked the first time.

I was hoping that this feature was embedded w/in asdf so that others
wouldn't have to add these magic 11 lines to their asdf files, too,
but this is probably the best solution given the circumstances. For
what it's worth, here's one vote for adding this capability to
Standard ASDF (tm).

Lou
--
Computer Science is no more about computers than astronomy is about telescopes.
	 Edsger Dijkstra


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
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.