1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112
|
cabal-version: >= 1.10
name: silently
version: 1.2.5.3
build-type: Simple
license: BSD3
license-file: LICENSE
copyright: (c) Trystan Spangler 2011
maintainer: Sönke Hahn <soenkehahn@gmail.com>, Simon Hengel <sol@typeful.net>, Andreas Abel
homepage: https://github.com/hspec/silently
package-url: https://github.com/hspec/silently
bug-reports: https://github.com/hspec/silently/issues
synopsis: Prevent or capture writing to stdout and other handles.
description: Prevent or capture writing to stdout, stderr, and other handles.
category: System, Testing
author: Trystan Spangler
tested-with:
GHC == 9.4.1
GHC == 9.2.4
GHC == 9.0.2
GHC == 8.10.7
GHC == 8.8.4
GHC == 8.6.5
GHC == 8.4.4
GHC == 8.2.2
GHC == 8.0.2
GHC == 7.10.3
GHC == 7.8.4
GHC == 7.6.3
GHC == 7.4.2
GHC == 7.2.2
GHC == 7.0.4
extra-source-files:
CHANGELOG.md
README.md
source-repository head
type: git
location: https://github.com/hspec/silently
Library
hs-source-dirs:
src
default-language:
Haskell98
exposed-modules:
System.IO.Silently
build-depends:
base >= 4.3 && < 5
, directory
, deepseq
if os(windows)
cpp-options: -DWINDOWS
if os(linux) || os(osx) || os(freebsd) || os(openbsd) || os(netbsd)
cpp-options: -DUNIX
ghc-options:
-Wall
if impl(ghc >= 8)
ghc-options:
-Wcompat
-- This tests the platform specific implementation.
--
-- NOTE: Cabal 1.10 can not deal with conditional (== if-else) options. This
-- is why we depend on silently to test the platform specific implementation.
--
-- As a consequence we can not use Hspec for testing, as this would result in
-- depending on two different versions of silently at the same time!
test-suite spec-specific
type:
exitcode-stdio-1.0
hs-source-dirs:
test
main-is:
Spec.hs
default-language:
Haskell98
ghc-options:
-Wall -threaded
build-depends:
base
, silently
, directory
, nanospec
, temporary
-- This tests the generic implementation, that should work on all platforms.
test-suite spec-generic
type:
exitcode-stdio-1.0
hs-source-dirs:
src
, test
main-is:
Spec.hs
default-language:
Haskell98
ghc-options:
-Wall -threaded
other-modules:
System.IO.Silently
build-depends:
base
, deepseq
, directory
, nanospec
, temporary
|