diff options
Diffstat (limited to 'html-test')
-rwxr-xr-x | html-test/run.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/html-test/run.hs b/html-test/run.hs index 62e8bc23..5678a877 100755 --- a/html-test/run.hs +++ b/html-test/run.hs @@ -61,7 +61,7 @@ checkOutput _ = return () -- TODO. runHaddock :: Config -> IO () runHaddock (Config { .. }) = do handle <- runProcess' cfgHaddockPath $ processConfig - { pcArgs = cfgHaddockArgs + { pcArgs = cfgHaddockArgs ++ cfgFiles , pcEnv = Just $ cfgEnv } waitForSuccess "Failed to run Haddock on specified test files" handle @@ -100,6 +100,7 @@ loadConfig flags files = do [ pure ["--no-warnings"] , pure ["--odir=" ++ outDir] , pure ["--pretty-html"] + , pure ["--html"] , pure ["--optghc=-w"] , pure $ flagsHaddockOptions flags , baseDependencies cfgGhcPath |