[commit: ghc] master: Exclude Cabal PackageTests from gen_contents_index. (887485a)
git at git.haskell.org
git at git.haskell.org
Sat Oct 8 08:38:12 UTC 2016
Repository : ssh://git@git.haskell.org/ghc
On branch : master
Link : http://ghc.haskell.org/trac/ghc/changeset/887485a45ae55e81b26b6412b6f9dcf6a497f044/ghc
>---------------------------------------------------------------
commit 887485a45ae55e81b26b6412b6f9dcf6a497f044
Author: Edward Z. Yang <ezyang at cs.stanford.edu>
Date: Thu Oct 6 16:20:24 2016 -0700
Exclude Cabal PackageTests from gen_contents_index.
Signed-off-by: Edward Z. Yang <ezyang at cs.stanford.edu>
>---------------------------------------------------------------
887485a45ae55e81b26b6412b6f9dcf6a497f044
libraries/gen_contents_index | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libraries/gen_contents_index b/libraries/gen_contents_index
index 27fa3c7..29be2e1 100644
--- a/libraries/gen_contents_index
+++ b/libraries/gen_contents_index
@@ -33,7 +33,8 @@ then
cd dist-haddock
HADDOCK=../../inplace/bin/haddock
- HADDOCK_FILES=`find ../ -name *.haddock | sort`
+ # Exclude Cabal package-tests, which may run haddock
+ HADDOCK_FILES=`find ../ -name *.haddock | grep -v 'PackageTests' | sort`
HADDOCK_ARGS="-p ../prologue.txt"
for HADDOCK_FILE in $HADDOCK_FILES
do
More information about the ghc-commits
mailing list