aboutsummaryrefslogtreecommitdiff
path: root/html-test
diff options
context:
space:
mode:
authorŁukasz Hanuszczak <lukasz.hanuszczak@gmail.com>2015-08-13 20:27:59 +0200
committerŁukasz Hanuszczak <lukasz.hanuszczak@gmail.com>2015-08-22 23:40:27 +0200
commitad82e40c858e313f8ff06eed058618fa1eaa8c19 (patch)
treee5e0880c12263e0f14038e794cbac68a1e272877 /html-test
parent66d7114dc8d310e1dc1105a0805c1c491312b43c (diff)
Create convenience wrappers to simplify in test entry points.
Diffstat (limited to 'html-test')
-rwxr-xr-xhtml-test/run.hs5
1 files changed, 1 insertions, 4 deletions
diff --git a/html-test/run.hs b/html-test/run.hs
index 22a06ba3..2758bf56 100755
--- a/html-test/run.hs
+++ b/html-test/run.hs
@@ -23,10 +23,7 @@ dirConfig = defaultDirConfig $ takeDirectory __FILE__
main :: IO ()
-main = do
- cfg <- uncurry (loadConfig checkConfig dirConfig) =<< checkOpt =<< getArgs
- runHaddock cfg
- checkFiles cfg
+main = runAndCheck =<< parseArgs checkConfig dirConfig =<< getArgs
-- *** OLD TEST RUNNER UTILITY FUNCTIONS ***