
13 Mar
2012
13 Mar
'12
12:22 p.m.
On Tue, Mar 13, 2012 at 11:16 AM, Ozgur Akgun
While waiting for a build to finish [ :) ], I just wanted to write an email and check if this is intentional or only an oversight. Or maybe a technical limitation for the time being?
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. That is, the 'Hs-source-disr' for the library and the test should not overlap. Otherwise GHC will compile the file-on-disk instead of grabbing the module from a package. Antoine