ghc-mod/test/doctests.hs
2017-09-18 12:27:45 +02:00

13 lines
285 B
Haskell

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