From 49a00880ad9bf0405f7da393d9e91523ec70fd2e Mon Sep 17 00:00:00 2001 From: Alex Biehl Date: Sat, 8 Jul 2017 00:33:12 +0200 Subject: Avoid missing home module warning (#652) * Avoid missing home module warning * Update haddock-library.cabal --- haddock-api/haddock-api.cabal | 2 ++ haddock-library/haddock-library.cabal | 19 +++++++++++++++++-- haddock.cabal | 7 +++++++ 3 files changed, 26 insertions(+), 2 deletions(-) diff --git a/haddock-api/haddock-api.cabal b/haddock-api/haddock-api.cabal index 15215cdb..504a0cae 100644 --- a/haddock-api/haddock-api.cabal +++ b/haddock-api/haddock-api.cabal @@ -113,6 +113,8 @@ test-suite spec other-modules: Haddock.Backends.Hyperlinker.ParserSpec + Haddock.Backends.Hyperlinker.Parser + Haddock.Backends.Hyperlinker.Types build-depends: base diff --git a/haddock-library/haddock-library.cabal b/haddock-library/haddock-library.cabal index a293039a..3b11761e 100644 --- a/haddock-library/haddock-library.cabal +++ b/haddock-library/haddock-library.cabal @@ -64,9 +64,24 @@ test-suite spec -DTEST other-modules: + Data.Attoparsec.ByteString + Data.Attoparsec.ByteString.Buffer + Data.Attoparsec.ByteString.Char8 + Data.Attoparsec.ByteString.FastSet + Data.Attoparsec.ByteString.Internal + Data.Attoparsec.Combinator + Data.Attoparsec.Internal + Data.Attoparsec.Internal.Fhthagn + Data.Attoparsec.Internal.Types + Documentation.Haddock.Doc + Documentation.Haddock.Parser + Documentation.Haddock.Parser.Monad + Documentation.Haddock.Parser.Util + Documentation.Haddock.Parser.UtilSpec Documentation.Haddock.ParserSpec + Documentation.Haddock.Types + Documentation.Haddock.Utf8 Documentation.Haddock.Utf8Spec - Documentation.Haddock.Parser.UtilSpec build-depends: base @@ -80,7 +95,7 @@ test-suite spec build-tool-depends: hspec-discover:hspec-discover - + source-repository head type: git subdir: haddock-library diff --git a/haddock.cabal b/haddock.cabal index e3c17a02..fa431dbc 100644 --- a/haddock.cabal +++ b/haddock.cabal @@ -126,11 +126,18 @@ executable haddock -- we pin down to a single haddock-api version. build-depends: haddock-api == 2.18.0 + other-modules: + ResponseFile + test-suite driver-test type: exitcode-stdio-1.0 default-language: Haskell2010 main-is: Main.hs hs-source-dirs: driver-test, driver + other-modules: + ResponseFile + ResponseFileSpec + build-depends: base, hspec test-suite html-test -- cgit v1.2.3