aboutsummaryrefslogtreecommitdiff
path: root/haddock.cabal
diff options
context:
space:
mode:
authorYuchen Pei <hi@ypei.me>2022-08-16 12:24:49 +1000
committerYuchen Pei <hi@ypei.me>2022-08-16 13:55:50 +1000
commitd7adfc2126da0547e2348c89f291696cff8efad1 (patch)
treef435ac652408edde4fb5fc999891f026906887c1 /haddock.cabal
parent5df092cac4ddce70dafe8bef1cc8d460c805d985 (diff)
Adding initial test for the org backend.
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 3fe3ccad..7d22fc41 100644
--- a/haddock.cabal
+++ b/haddock.cabal
@@ -52,6 +52,8 @@ extra-source-files:
latex-test/ref/**/*.tex
hoogle-test/src/**/*.hs
hoogle-test/ref/**/*.txt
+ org-test/src/*.hs
+ org-test/ref/*.org
flag in-ghc-tree
description: Are we in a GHC tree?
@@ -189,6 +191,14 @@ test-suite hoogle-test
hs-source-dirs: hoogle-test
build-depends: base, filepath, haddock-test == 0.0.1
+test-suite org-test
+ type: exitcode-stdio-1.0
+ build-tool-depends: haddock:haddock
+ default-language: Haskell2010
+ main-is: Main.hs
+ hs-source-dirs: org-test
+ build-depends: base, filepath, haddock-test == 0.0.1
+
source-repository head
type: git
location: https://g.ypei.me/haddock.git