hw-hedgehog 0.1.0.5 → 0.1.1.0
raw patch · 2 files changed
+36/−13 lines, 2 filesdep +doctestdep +doctest-discoverdep ~basePVP ok
version bump matches the API change (PVP)
Dependencies added: doctest, doctest-discover
Dependency ranges changed: base
API changes (from Hackage documentation)
Files
- doctest/DoctestDriver.hs +12/−0
- hw-hedgehog.cabal +24/−13
+ doctest/DoctestDriver.hs view
@@ -0,0 +1,12 @@+{-# LANGUAGE CPP #-}++#if MIN_VERSION_GLASGOW_HASKELL(8,4,4,0)+{-# OPTIONS_GHC -F -pgmF doctest-discover #-}+#else+module Main where++import qualified System.IO as IO++main :: IO ()+main = IO.putStrLn "WARNING: doctest will not run on GHC versions earlier than 8.4.4"+#endif
hw-hedgehog.cabal view
@@ -1,7 +1,7 @@-cabal-version: 2.2+cabal-version: 2.2 name: hw-hedgehog-version: 0.1.0.5+version: 0.1.1.0 synopsis: Extra hedgehog functionality description: Extra hedgehog functionality. category: Test@@ -9,10 +9,10 @@ bug-reports: https://github.com/haskell-works/hw-hedgehog/issues author: John Ky maintainer: newhoggy@gmail.com-copyright: 2017-2019 John Ky+copyright: 2017-2020 John Ky license: BSD-3-Clause license-file: LICENSE-tested-with: GHC == 8.8.1, GHC == 8.6.5, GHC == 8.4.4, GHC == 8.2.2+tested-with: GHC == 8.10.1, GHC == 8.8.3, GHC == 8.6.5, GHC == 8.4.4 build-type: Simple extra-source-files: README.md @@ -20,20 +20,21 @@ type: git location: https://github.com/haskell-works/hw-hedgehog -common base { build-depends: base >= 4.8 && < 5 }+common base { build-depends: base >= 4.11 && < 5 } -common hedgehog { build-depends: hedgehog >= 0.6 && < 1.1 }-common vector { build-depends: vector >= 0.12 && < 0.13 }+common doctest { build-depends: doctest >= 0.16.2 && < 0.17 }+common doctest-discover { build-depends: doctest-discover >= 0.2 && < 0.3 }+common hedgehog { build-depends: hedgehog >= 0.6 && < 1.1 }+common vector { build-depends: vector >= 0.12 && < 0.13 } -common common+common config default-language: Haskell2010 common hw-hedgehog build-depends: hw-hedgehog - library- import: base, common+ import: base, config , hedgehog , vector hs-source-dirs: src@@ -43,11 +44,21 @@ autogen-modules: Paths_hw_hedgehog test-suite hw-hedgehog-test- import: base, common+ import: base, config , hw-hedgehog type: exitcode-stdio-1.0 main-is: Spec.hs hs-source-dirs: test ghc-options: -threaded -rtsopts -with-rtsopts=-N- other-modules: Paths_hw_hedgehog- autogen-modules: Paths_hw_hedgehog++test-suite doctest+ import: base, config+ , doctest+ , doctest-discover+ , hw-hedgehog+ default-language: Haskell2010+ type: exitcode-stdio-1.0+ ghc-options: -threaded+ main-is: DoctestDriver.hs+ HS-Source-Dirs: doctest+ build-tool-depends: doctest-discover:doctest-discover