mirror of
https://github.com/simonmichael/hledger.git
synced 2024-09-19 10:17:35 +03:00
lib: make doctests build with ghc 7.10 again
This commit is contained in:
parent
1f2b00ee3b
commit
0175a0231d
@ -5,10 +5,8 @@ import Data.Monoid
|
|||||||
import "Glob" System.FilePath.Glob
|
import "Glob" System.FilePath.Glob
|
||||||
import Test.DocTest
|
import Test.DocTest
|
||||||
|
|
||||||
main =
|
main = do
|
||||||
pure ["Hledger.hs"]
|
fs1 <- glob "Hledger/**/*.hs"
|
||||||
<> glob "Hledger/**/*.hs"
|
fs2 <- glob "Text/**/*.hs"
|
||||||
<> glob "Text/**/*.hs"
|
--fs3 <- glob "other/ledger-parse/**/*.hs"
|
||||||
-- <> glob "other/ledger-parse/**/*.hs"
|
doctest $ filter (not . isInfixOf "/.") $ ["Hledger.hs"] ++ fs1 ++ fs2
|
||||||
>>= pure . filter (not . isInfixOf "/.")
|
|
||||||
>>= doctest
|
|
||||||
|
Loading…
Reference in New Issue
Block a user