Shipments in Cabal

Isaac Jones ijones at syntaxpolice.org
Thu Dec 8 17:36:21 EST 2005


Isaac Jones <ijones at syntaxpolice.org> writes:

>> a> The shipment name might be kept in some special file.
>
> I kinda like this, package.cabalship (or whatever) might look like:
>
> shipment: shipmentname
> version: 1.1 -- inherited by the packages if they have no version num
> copyright -- ditto

Another thing we could do w/ a shipment file is specify the location
of .cabal files so you can have them in their own source tree.  So if
you had a source tree like:
src/foo/
        foo.hs
        foo.cabal

src/bar/
        bar.hs
        bar.cabal

then you could have

src/foobar.cabalship:
shipment: foobar
cabal-files: bar/bar.cabal, foo/foo.cabal

peace,

  isaac



More information about the Libraries mailing list