blob: 63a6c22bf33cd703a443c3b674d85fe227c7f98c (
plain)
1
2
3
4
5
6
7
8
|
import Distribution.Simple
import System.Process (rawSystem)
import System.Exit (ExitCode(..))
import System.FilePath ((</>))
main = defaultMainWithHooks $ simpleUserHooks { runTests = \args _ _ _ -> do
ExitSuccess <- rawSystem "runhaskell" ("-package-conf=dist/package.conf.inplace" : "Test/Runner.hs" : args)
return ()
}
|