Repository : ssh://darcs.haskell.org//srv/darcs/haddock

On branch  : ghc-7.6

http://hackage.haskell.org/trac/ghc/changeset/d78561d560b55114011d56168dafba00cb4d1f2f

>---------------------------------------------------------------

commit d78561d560b55114011d56168dafba00cb4d1f2f
Author: Simon Hengel <s...@typeful.net>
Date:   Fri Dec 7 20:19:31 2012 +0100

    Add missing test files to cabal file (fixes #230)

>---------------------------------------------------------------

 haddock.cabal |    9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/haddock.cabal b/haddock.cabal
index 06a8536..2c102bc 100644
--- a/haddock.cabal
+++ b/haddock.cabal
@@ -29,9 +29,8 @@ extra-source-files:
   haddock.spec
   haskell.vim
   src/haddock.sh
--- The test files shouldn't have to go here, but the source files for
--- the test-suite stanzas don't get picked up by `cabal sdist`.
-  tests/html-test/run.lhs
+  html-test/src/*.hs
+  html-test/ref/*.html
 
 data-dir:   resources
 data-files: html/frames.html
@@ -199,6 +198,10 @@ test-suite spec
     , test/nanospec
     , src
 
+  other-modules:
+      Test.Hspec
+      Haddock.ParseSpec
+
   build-depends:
       base
     , ghc



_______________________________________________
Cvs-ghc mailing list
Cvs-ghc@haskell.org
http://www.haskell.org/mailman/listinfo/cvs-ghc

Reply via email to