
On Sun, Mar 06, 2011 at 12:30:45PM -0800, Cristian Petrescu Prahova wrote:
Hi,
I have a small project consisting of a library and an application. I cabalized both. However, whenever I tweak the library I cabal install it, then move to the app directory, then reconfigure, then rebuild. This is annoying repetitive shell typing. Is there a way to configure my setup such that cabal build app automatically rebuilds (and reinstalls?) the library dependency? I'd like something like:
# builds the library and runs the tests cabal make lib
# builds the app and the library dependency, then runs the app cabal make app
I suspect you'll have to write a wrapper makefile in order to get something like that. /M -- Magnus Therning OpenPGP: 0xAB4DFBA4 email: magnus@therning.org jabber: magnus@therning.org twitter: magthe http://therning.org/magnus Most software today is very much like an Egyptian pyramid with millions of bricks piled on top of each other, with no structural integrity, but just done by brute force and thousands of slaves. -- Alan Kay