git.iko.soy/typeable/bloodhound
on master help sign in
Conditionally build doctests
cb9d9f6Michael Xavier
bloodhound.cabal+17−14
@@ -49,20 +49,23 @@ test-suite tests
49 type: exitcode-stdio-1.0
49 type: exitcode-stdio-1.0
50 main-is: tests.hs
50 main-is: tests.hs
51 hs-source-dirs: tests
51 hs-source-dirs: tests
52+ if impl(ghc >= 7.8)
52− build-depends: base,
53+ build-depends: base,
53− bloodhound,
54+ bloodhound,
54− http-client,
55+ http-client,
55− http-types,
56+ http-types,
56− containers,
57+ containers,
57− hspec >= 1.8 && <2.1,
58+ hspec >= 1.8 && <2.1,
58− text,
59+ text,
59− time,
60+ time,
60− aeson,
61+ aeson,
61− semigroups,
62+ semigroups,
62− QuickCheck,
63+ QuickCheck,
63− vector,
64+ vector,
64− unordered-containers >= 0.2.5.0 && <0.3,
65+ unordered-containers >= 0.2.5.0 && <0.3,
65− mtl
66+ mtl
67+ else
68+ buildable: False
66 default-language: Haskell2010
69 default-language: Haskell2010
67
70
68test-suite doctests
71test-suite doctests