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 14:06:43 +1000
commitba880b4c29724768eec5a3c07c79d5525e8b7992 (patch)
tree2b99ac288bfffe78c88c97b6984f4cddf71a7421 /haddock.cabal
parent6b48872222cc21e864e637055d95c71ff911fddf (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 5dd0a9a8..ca693fa5 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