[racket] install-pkg
On Sat, Jun 19, 2010 at 23:30, Robby Findler <robby at eecs.northwestern.edu>wrote:
> It isn't clear to me why the functions are doing what they are doing
> in some of the details, but I've documented the relevant missing ones
> (now pushed, also as below). Here is an example to help you get going.
>
> #lang racket
> (require planet/util)
> (install-pkg
> (get-package-spec "planet"
> "test-connection.plt"
> 1 0)
> "test-connection.plt" ;; this is the .plt file (here as a relative path)
> 1 0)
>
>
> Robby
>
Thanks!
That worked, but there is one annoying thing: it recompiled *all* the
dependencies, including the whole Racket...
Is there a way to avoid this with this function?
Also, there should be somewhere in this function call where I should have
put my username I guess, but where?
I did:
(install-pkg
(get-package-spec "planet" ; no need to change that I suppose ?
"mred-designer.plt"
application-version-maj application-version-min)
"../mred-designer.plt" ;; this is the .plt file (here as a relative path)
application-version-maj application-version-min)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20100620/80917102/attachment.html>