ghc-mod/test/doctests.hs
2018-02-10 15:00:27 +01:00

13 lines
305 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 $ ["--no-magic"] ++ args
where
args = flags ++ pkgs ++ module_sources