trystan / silently

Prevent or capture output to stdout or other handles in Haskell
Other
13 stars 4 forks source link

v1.2 does not build with Cabal 1.10.1.0 #12

Closed sol closed 12 years ago

sol commented 12 years ago

Cabal 1.10.1.0 has some annoying parser bug. It does not handle if-else in test sections. I'm trying to find a workaround, but the situation is somewhat complicated:

We could depend on the library instead of doing any if-else checks in test-suite sections. But this does not work; We use Hspec for the test suite, and Hspec pulls in an other version of silently. So we end up with a dependency on two different versions of the same library, and Cabal fails.

Not sure what to do yet. But currently I think the easiest way to get around this would be to not use Hspec for testing silently.