4 import Test.DocTest (doctest)
5 import System.FilePath.Find ((==?), always, extension, find)
7 find_sources :: IO [FilePath]
8 find_sources = find always (extension ==? ".hs") "src/"
12 sources <- find_sources
13 doctest $ ["-isrc", "-idist/build/haeredes/autogen" ] ++ sources