@@ -91,7 +91,7 @@ maintainer: streamly@composewell.com
91copyright: 2017 Composewell Technologies
91copyright: 2017 Composewell Technologies
92category: Control, Concurrency, Streaming, Reactivity
92category: Control, Concurrency, Streaming, Reactivity
93stability: Experimental
93stability: Experimental
94−build-type: Configure
94+build-type: Custom
96extra-source-files:
96extra-source-files:
97 .circleci/config.yml
97 .circleci/config.yml
@@ -238,6 +238,16 @@ flag opt
238 manual: True
238 manual: True
239 default: True
239 default: True
242+ description: Build doctests test suite
249+ cabal-doctest >= 1 && <1.1
241-------------------------------------------------------------------------------
251-------------------------------------------------------------------------------
242-- Common stanzas
252-- Common stanzas
243-------------------------------------------------------------------------------
253-------------------------------------------------------------------------------
@@ -570,3 +580,19 @@ library
570 -- tests fail
580 -- tests fail
571 if flag(dev) && flag(inspection)
581 if flag(dev) && flag(inspection)
572 build-depends: inspection-and-dev-flags-cannot-be-used-together
582 build-depends: inspection-and-dev-flags-cannot-be-used-together
585+ type: exitcode-stdio-1.0
586+ main-is: doctests.hs
590+ , base-compat >=0.10.5 && <0.12
591+ , doctest >=0.15 && <0.18
596+ ghc-options: -Wall -threaded
598+ default-language: Haskell2010