hledger/hledger-lib/tests/doctests.hs
2017-09-08 10:25:42 -07:00

13 lines
314 B
Haskell

{-# LANGUAGE PackageImports #-}
import Data.List
import Data.Monoid
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 "/.") $ ["Hledger.hs"] ++ fs1 ++ fs2