This is not evident in hte documentation, but Leksah does these things for you if you add your packages to the workspace list..<div><br></div><div>It is necessary to use the background compilation option, that is, set by default. </div>
<div><br></div><div>Alberto<br><div><br></div></div><br><div class="gmail_quote">2011/10/27 Konstantin Litvinenko <span dir="ltr"><<a href="mailto:to.darkangel@gmail.com">to.darkangel@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
I am trying to understand how to organize my code and edit-compile-run cycles. I can't figure out how to setup environment in such why that when I build some program using cabal, cabal will rebuild program dependencies if some was changed. I don't want to configure/build/install manually.<br>
Having program 'foo' depends on lib 'bar' I want to edit some files in 'bar' than build 'foo' and get 'bar' rebuilt and 'foo' rebuilt/relink.<br>
How can I do this?<br>
<br>
<br>
______________________________<u></u>_________________<br>
Haskell-Cafe mailing list<br>
<a href="mailto:Haskell-Cafe@haskell.org" target="_blank">Haskell-Cafe@haskell.org</a><br>
<a href="http://www.haskell.org/mailman/listinfo/haskell-cafe" target="_blank">http://www.haskell.org/<u></u>mailman/listinfo/haskell-cafe</a><br>
</blockquote></div><br>