hs-asapo-0.9.0: tests/doctests.hs
module Main where
import Build_doctests (flags, module_sources, pkgs)
-- import Data.Foldable (traverse_)
import System.Environment (unsetEnv)
import Test.DocTest (doctest)
-- This is simply copied from https://github.com/ulidtko/cabal-doctest
main :: IO ()
main = do
-- traverse_ putStrLn args -- optionally print arguments
unsetEnv "GHC_ENVIRONMENT" -- see 'Notes'; you may not need this
doctest args
where
args = flags ++ pkgs ++ module_sources