multiple cabal files in one directory?
duncan.coutts at googlemail.com
Thu Jan 13 19:15:42 CET 2011
On 13 January 2011 17:55, Henning Thielemann
<lemming at henning-thielemann.de> wrote:
> Duncan Coutts wrote:
>> I think the simplest model would be as follows:
>> I agree that if you typically develop these two packages together but
>> want to be able to distribute them separately then it would be nicer
>> to be able to have multiple .cabal files in one directory.
> Or just write
> $ for dir in pads forest; do (cd $dir; cabal install); done
That's assuming the dependencies go in that order. With the next
version of cabal you will be able to say:
$ cabal install pads/ forest/
and it will work out the dependency order and install both.
More information about the Libraries