[commit: haddock] master: Add hyperlinker test runner to .cabal and .gitignore files. (cddb709)

git at git.haskell.org git at git.haskell.org
Wed Jul 8 08:41:54 UTC 2015


Repository : ssh://git@git.haskell.org/haddock

On branch  : master
Link       : http://git.haskell.org/haddock.git/commitdiff/cddb70986db0f34427cf74cc93352b1ed10ed56b

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

commit cddb70986db0f34427cf74cc93352b1ed10ed56b
Author: Łukasz Hanuszczak <lukasz.hanuszczak at gmail.com>
Date:   Tue Jun 30 21:18:46 2015 +0200

    Add hyperlinker test runner to .cabal and .gitignore files.


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

cddb70986db0f34427cf74cc93352b1ed10ed56b
 .gitignore    | 1 +
 haddock.cabal | 9 +++++++++
 2 files changed, 10 insertions(+)

diff --git a/.gitignore b/.gitignore
index f07c758..3c9798c 100644
--- a/.gitignore
+++ b/.gitignore
@@ -2,6 +2,7 @@
 /haddock-api/dist/
 /haddock-library/dist/
 /html-test/out/
+/hypsrc-test/out/
 /latex-test/out/
 
 /doc/haddock
diff --git a/haddock.cabal b/haddock.cabal
index 0aebefd..01e6a55 100644
--- a/haddock.cabal
+++ b/haddock.cabal
@@ -29,6 +29,8 @@ extra-source-files:
   haddock-api/src/haddock.sh
   html-test/src/*.hs
   html-test/ref/*.html
+  hypsrc-test/src/*.hs
+  hypsrc-test/ref/*.html
   latex-test/src/Simple/*.hs
   latex-test/ref/Simple/*.tex
   latex-test/ref/Simple/*.sty
@@ -120,6 +122,13 @@ test-suite html-test
   hs-source-dirs:   html-test
   build-depends:    base, directory, process, filepath, Cabal
 
+test-suite hypsrc-test
+  type:             exitcode-stdio-1.0
+  default-language: Haskell2010
+  main-is:          run.hs
+  hs-source-dirs:   hypsrc-test
+  build-depends:    base, directory, process, filepath, Cabal
+
 test-suite latex-test
   type:             exitcode-stdio-1.0
   default-language: Haskell2010



More information about the ghc-commits mailing list