[Haskell-cafe] cabal test-suite library recompilation

Ozgur Akgun ozgurakgun at gmail.com
Tue Mar 13 17:43:42 CET 2012

On 13 March 2012 16:22, Antoine Latter <aslatter at gmail.com> wrote:

> If your library code and test code are in separate sub-directories and
> you reference your library as a package dependency for your test then
> Cabal won't re-build your library.

Yay! That was it. Thanks.

Somehow I altered the hs-source-dir field while moving from the old setup
to the new setup. So just to confirm, the behaviour of the test-suite
section is exactly the same as that of executable sections.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/haskell-cafe/attachments/20120313/f60e7584/attachment.htm>

More information about the Haskell-Cafe mailing list