tests: make doctests suite build with ghc 7.10

This commit is contained in:
Simon Michael 2018-09-07 11:01:25 -07:00
parent 91b111b60d
commit 86750d5cde

View File

@ -33,7 +33,7 @@ main = do
pats = filter (not . ("-" `isPrefixOf`)) args pats = filter (not . ("-" `isPrefixOf`)) args
-- find source files -- find source files
sourcefiles <- filter (not . isInfixOf "/.") <$> mconcat [ -- XXX build error with ghc 7.10 sourcefiles <- (filter (not . isInfixOf "/.") . concat) <$> sequence [
glob "Hledger.hs" glob "Hledger.hs"
,glob "Hledger/**/*.hs" ,glob "Hledger/**/*.hs"
,glob "Text/**/*.hs" ,glob "Text/**/*.hs"