
6 Apr
2010
6 Apr
'10
9:37 p.m.
On Tue, Apr 6, 2010 at 9:00 PM, Gregory Crosswhite
Sounds like a good plan to me!
You still need some way to separate out the test dependencies from the main build dependencies, though. Perhaps as a separate line in the main Cabal header section?
I think I can implement this inside Cabal in the conversion from GenericPackageDescription to PackageDescription, as if it were implemented all in terms of conditionals. So, if tests are enabled, the test executables are in the PackageDescription and their dependencies get pulled in; if tests are disabled, the executables get cut from the PackageDescription. Am I missing something? -- Thomas Tuegel