From 65d90cabd0942dbf8f7259582c9117aebec54cda Mon Sep 17 00:00:00 2001 From: Michael Sloan Date: Thu, 17 Sep 2015 19:05:22 -0700 Subject: [PATCH] Have test-cereal-conduit depend on the library This avoids unnecessary recompilation, and fixes the "stack test --coverage" results for this package. https://github.com/commercialhaskell/stack/issues/1008 https://github.com/commercialhaskell/stack/issues/1009 --- cereal-conduit/cereal-conduit.cabal | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/cereal-conduit/cereal-conduit.cabal b/cereal-conduit/cereal-conduit.cabal index 2b433e109..3e24a1f3f 100644 --- a/cereal-conduit/cereal-conduit.cabal +++ b/cereal-conduit/cereal-conduit.cabal @@ -30,10 +30,12 @@ library Test-Suite test-cereal-conduit type: exitcode-stdio-1.0 - main-is: Test/Main.hs + main-is: Main.hs + hs-source-dirs: Test build-depends: base , conduit , cereal + , cereal-conduit , bytestring --, test-framework-hunit , HUnit