aboutsummaryrefslogtreecommitdiff
path: root/haddock.cabal
diff options
context:
space:
mode:
authorMateusz Kowalczyk <fuuzetsu@fuuzetsu.co.uk>2013-08-27 05:03:43 +0100
committerSimon Hengel <sol@typeful.net>2013-08-27 21:22:48 +0200
commit355087a58416683f16d65457577ef4b575b55a64 (patch)
tree716ea2217ea2c3ee337976749444c7d3370c90cc /haddock.cabal
parentac04da29b1a2bfb7139b7e9d0d2b88ea397a3bcc (diff)
LaTeX tests setup
Diffstat (limited to 'haddock.cabal')
-rw-r--r--haddock.cabal10
1 files changed, 10 insertions, 0 deletions
diff --git a/haddock.cabal b/haddock.cabal
index ac13ae88..054a50f9 100644
--- a/haddock.cabal
+++ b/haddock.cabal
@@ -31,6 +31,9 @@ extra-source-files:
src/haddock.sh
html-test/src/*.hs
html-test/ref/*.html
+ latex-test/src/*.hs
+ latex-test/ref/*/*.tex
+ latex-test/ref/*/*.sty
data-dir: resources
data-files: html/frames.html
@@ -189,6 +192,13 @@ test-suite html-test
hs-source-dirs: html-test
build-depends: base, directory, process, filepath, Cabal
+test-suite latex-test
+ type: exitcode-stdio-1.0
+ default-language: Haskell2010
+ main-is: run.lhs
+ hs-source-dirs: latex-test
+ build-depends: base, directory, process, filepath, Cabal
+
test-suite spec
type: exitcode-stdio-1.0
default-language: Haskell2010