From 4a4d9ecf66bcb6561f7b10c07742c4b6688332b8 Mon Sep 17 00:00:00 2001 From: Łukasz Hanuszczak Date: Thu, 13 Aug 2015 12:21:45 +0200 Subject: Refactor HTML test suite boilerplate to external package. --- .gitignore | 1 + 1 file changed, 1 insertion(+) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 3c9798c1..3eb2ed83 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,7 @@ /dist/ /haddock-api/dist/ /haddock-library/dist/ +/haddock-test/dist/ /html-test/out/ /hypsrc-test/out/ /latex-test/out/ -- cgit v1.2.3 From 109ebe47a7141b477844ba52291785969f01514c Mon Sep 17 00:00:00 2001 From: Łukasz Hanuszczak Date: Wed, 19 Aug 2015 16:13:55 +0200 Subject: Add appropriate .gitignore entry and configure Hoogle test suite. --- .gitignore | 1 + hoogle-test/Main.hs | 6 +++++- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to '.gitignore') diff --git a/.gitignore b/.gitignore index 3eb2ed83..2bbb0885 100644 --- a/.gitignore +++ b/.gitignore @@ -5,6 +5,7 @@ /html-test/out/ /hypsrc-test/out/ /latex-test/out/ +/hoogle-test/out/ /doc/haddock /doc/haddock.ps diff --git a/hoogle-test/Main.hs b/hoogle-test/Main.hs index 9da20c36..c8cda640 100644 --- a/hoogle-test/Main.hs +++ b/hoogle-test/Main.hs @@ -23,5 +23,9 @@ main :: IO () main = do cfg <- parseArgs checkConfig dirConfig =<< getArgs runAndCheck $ cfg - { cfgHaddockArgs = cfgHaddockArgs cfg ++ ["--hoogle"] + { cfgHaddockArgs = cfgHaddockArgs cfg ++ + [ "--package-name=test" + , "--package-version=0.0.0" + , "--hoogle" + ] } -- cgit v1.2.3