hledger/hledger-lib/tests/doctests.hs
2018-06-07 10:41:09 -05:00

12 lines
305 B
Haskell

{-# LANGUAGE PackageImports #-}
import Data.List
import "Glob" System.FilePath.Glob
import Test.DocTest
main = do
fs1 <- glob "Hledger/**/*.hs"
fs2 <- glob "Text/**/*.hs"
--fs3 <- glob "other/ledger-parse/**/*.hs"
doctest $ filter (not . isInfixOf "/.") $ ["--fast", "Hledger.hs"] ++ fs1 ++ fs2