for the benefit of those who may come later ...

I have been developing code for a package that will eventually be
'contributed'  at github.com/Antigonus/liquid.  It is broken into multiple
dependent packages,  liquid  (top level), liquid-lib (has the modules that
users make use of),  liquid-doc (has the scribble docs in it).  See the git
hub for the "info.rkt" files that glue it all into one package.

The local install for testing and example development  had to be done only
once.  Because the install was from a directory the code was linked by name
into the catalog  rather than moved into the /usr/share/racket/pkg
hierarchy.  This is the default behavior when installing from a directory.
Because of dependencies, I had to do the local install like this:

cd /top/liquid-doc
raco pkg install

cd /top/liquid-lib
raco pkg install

etc. for other split out parts .. and then

cd /top/liquid

raco pkg install

The install only has to be done once.   Once installed, my library modules
are (require liquid/module)  instead of (require "a-rel-path/module.rkt").
  As they haven't moved, I can make modifications in the original files.
There are no copies to deal with.

After the install, modifications to files are compiled and thus included in
the installation by using a single command:

raco setup liquid

It is pretty quick.  And my gosh much much better than what I was doing
before (reinstalling).

Thanks Matt, Greg.



On Sat, Jul 18, 2015 at 5:59 AM, Greg Hendershott <[email protected]
> wrote:

> I don't mean to discourage you from splitting.
>
> I'm just not sure it's worthwhile for most packages. As a result, I
> wouldn't want people to feel it's generally expected.
>
> (I wouldn't want that to discourage someone from making a package at
> all. Or to divert too much time from other ways to make the package
> better. Or be an excuse to say, well docs are already hard, and
> putting them in a separate -doc package is the last straw, so I won't
> bother with docs at all. And so on.)
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/racket-dev/CAGxFmCPrkwjDtdYSkG-%3DMkGg6_trSH4u7XuWHi5keqPQpBV5sA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to