ghc-mod/test/doctests.hs

13 lines
285 B
Haskell
Raw Normal View History

2013-09-20 12:10:31 +00:00
module Main where
import Build_doctests (flags, pkgs, module_sources)
import Data.Foldable (traverse_)
import Test.DocTest (doctest)
2013-09-20 12:10:31 +00:00
main :: IO ()
main = do
traverse_ putStrLn args -- optionally print arguments
doctest args
where
args = flags ++ pkgs ++ module_sources