aboutsummaryrefslogtreecommitdiff
path: root/html-test/accept.lhs
diff options
context:
space:
mode:
authorSimon Hengel <sol@typeful.net>2012-10-15 20:34:40 +0200
committerSimon Hengel <sol@typeful.net>2012-10-15 20:49:39 +0200
commit410d8a4f7cfe3b45b98719f75bffc9ac06626fbc (patch)
tree3a6618d5422b3377a3421a9d8ff1876adc287c14 /html-test/accept.lhs
parent7e1fed4da8bb913d25f447afd1f1e485d428e37f (diff)
Adapt output directory for HTML tests
Diffstat (limited to 'html-test/accept.lhs')
-rwxr-xr-xhtml-test/accept.lhs6
1 files changed, 3 insertions, 3 deletions
diff --git a/html-test/accept.lhs b/html-test/accept.lhs
index ea55c35c..f6dfc4cd 100755
--- a/html-test/accept.lhs
+++ b/html-test/accept.lhs
@@ -12,12 +12,12 @@ baseDir = takeDirectory __FILE__
main :: IO ()
main = do
- contents <- filter (not . ignore) <$> getDirectoryContents (baseDir </> "output")
+ contents <- filter (not . ignore) <$> getDirectoryContents (baseDir </> "out")
args <- getArgs
if not $ null args then
- mapM_ copy [ baseDir </> "output" </> file | file <- contents, ".html" `isSuffixOf` file, takeBaseName file `elem` args ]
+ mapM_ copy [ baseDir </> "out" </> file | file <- contents, ".html" `isSuffixOf` file, takeBaseName file `elem` args ]
else
- mapM_ copy [ baseDir </> "output" </> file | file <- contents]
+ mapM_ copy [ baseDir </> "out" </> file | file <- contents]
where
ignore =
foldr (liftA2 (||)) (const False) [