@@ -10,7 +10,7 @@ author: Nickolay Kudasov
1010maintainer: nickolay@getshoptv.com
1111copyright: (c) 2015-2016, GetShopTV
1212category: Web
13−build-type: Simple
13+build-type: Custom
1414extra-source-files:
1515 README.md
1616 , CHANGELOG.md
@@ -19,6 +19,10 @@ extra-source-files:
1919cabal-version: >=1.10
2020tested-with: GHC==7.8.4, GHC==7.10.3, GHC==8.0.2, GHC==8.2.1
2121
22+custom-setup
23+ setup-depends:
24+ base, Cabal, cabal-doctest >=1.0.2 && <1.1
25+
2226library
2327 hs-source-dirs: src
2428 include-dirs: include
@@ -93,11 +97,11 @@ test-suite spec
9397 Data.Swagger.Schema.ValidationSpec
9498 default-language: Haskell2010
9599
96−test-suite doctest
100+test-suite doctests
97101 build-depends: base, doctest, Glob
98102 default-language: Haskell2010
99103 hs-source-dirs: test
100− main-is: DocTest.hs
104+ main-is: doctests.hs
101105 type: exitcode-stdio-1.0
102106
103107source-repository head