aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorŁukasz Hanuszczak <lukasz.hanuszczak@gmail.com>2015-06-30 21:18:46 +0200
committerŁukasz Hanuszczak <lukasz.hanuszczak@gmail.com>2015-06-30 22:38:33 +0200
commitcddb70986db0f34427cf74cc93352b1ed10ed56b (patch)
tree4fbadcfa368ff470a70f209e8c13efc1113cc901
parent9dfb3f87cf71042eb883e228a8c6c7f25c743118 (diff)
Add hyperlinker test runner to .cabal and .gitignore files.
-rw-r--r--.gitignore1
-rw-r--r--haddock.cabal9
2 files changed, 10 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index f07c758d..3c9798c1 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 0aebefd8..01e6a558 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