packages feed

tasty-mgolden-0.0.2: tasty-mgolden.cabal

cabal-version: 1.18

-- This file has been generated from package.yaml by hpack version 0.33.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: d24f2ff9d3b958bfb3a52ecb1fbb170ad948d787cbb2001453733218715c2104

name:           tasty-mgolden
version:        0.0.2
synopsis:       Golden testing provider for tasty with muti-line diff output
description:    Please visit the README at <https://github.com/mbj/tasty-mgolden#readme>
                for usage information.
category:       Testing
homepage:       https://github.com/mbj/tasty-mgolden#readme
bug-reports:    https://github.com/mbj/tasty-mgolden/issues
author:         Markus Schirp <mbj@schirp-dso.com>
maintainer:     Markus Schirp <mbj@schirp-dso.com>
license:        BSD3
license-file:   LICENSE
tested-with:    GHC ==8.6.5 || ==8.8.4 || ==8.10.2
build-type:     Simple
extra-doc-files:
    README.md

source-repository head
  type: git
  location: https://github.com/mbj/tasty-mgolden

flag development
  description: Run GHC with development flags
  manual: True
  default: False

library
  exposed-modules:
      Test.Tasty.MGolden
  other-modules:
      Paths_tasty_mgolden
  hs-source-dirs:
      src
  default-extensions: DerivingStrategies LambdaCase NoImplicitPrelude OverloadedStrings RecordWildCards StrictData
  ghc-options: -Wall -Wcompat -Widentities -Wimplicit-prelude -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-exported-signatures -Wmissing-local-signatures -Wmonomorphism-restriction -Wredundant-constraints -funbox-strict-fields
  build-depends:
      Diff ==0.3.4 || >=0.4 && <0.5
    , ansi-terminal >=0.9 && <0.10 || >=0.10 && <0.11
    , base >=4.12 && <=4.15
    , filepath >=1.4.2 && <1.5
    , tasty >=1.3.1 && <1.4
    , text >=1.2 && <1.3
  if flag(development)
    ghc-options: -Werror
  else
    ghc-options: -Wwarn
  default-language: Haskell2010

executable tasty-mgolden-example
  main-is: example/Test.hs
  default-extensions: DerivingStrategies LambdaCase NoImplicitPrelude OverloadedStrings RecordWildCards StrictData ImplicitPrelude
  ghc-options: -Wall -Wcompat -Widentities -Wimplicit-prelude -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-exported-signatures -Wmissing-local-signatures -Wmonomorphism-restriction -Wredundant-constraints -funbox-strict-fields -rtsopts -threaded -with-rtsopts=-N -Wno-implicit-prelude
  build-depends:
      Diff ==0.3.4 || >=0.4 && <0.5
    , ansi-terminal >=0.9 && <0.10 || >=0.10 && <0.11
    , base >=4.12 && <=4.15
    , filepath >=1.4.2 && <1.5
    , tasty >=1.3.1 && <1.4
    , tasty-expected-failure
    , tasty-hunit
    , tasty-mgolden
    , text >=1.2 && <1.3
  if flag(development)
    ghc-options: -Werror
  else
    ghc-options: -Wwarn
  default-language: Haskell2010

test-suite golden
  type: exitcode-stdio-1.0
  main-is: test/Test.hs
  default-extensions: DerivingStrategies LambdaCase NoImplicitPrelude OverloadedStrings RecordWildCards StrictData
  ghc-options: -Wall -Wcompat -Widentities -Wimplicit-prelude -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-exported-signatures -Wmissing-local-signatures -Wmonomorphism-restriction -Wredundant-constraints -funbox-strict-fields -rtsopts -threaded -with-rtsopts=-N
  build-depends:
      Diff ==0.3.4 || >=0.4 && <0.5
    , ansi-terminal >=0.9 && <0.10 || >=0.10 && <0.11
    , base >=4.12 && <=4.15
    , filepath >=1.4.2 && <1.5
    , tasty >=1.3.1 && <1.4
    , tasty-expected-failure
    , tasty-hunit
    , tasty-mgolden
    , text >=1.2 && <1.3
    , typed-process
  if flag(development)
    ghc-options: -Werror
  else
    ghc-options: -Wwarn
  default-language: Haskell2010

test-suite hlint
  type: exitcode-stdio-1.0
  main-is: HLint.hs
  hs-source-dirs:
      test
  default-extensions: DerivingStrategies LambdaCase NoImplicitPrelude OverloadedStrings RecordWildCards StrictData
  ghc-options: -Wall -Wcompat -Widentities -Wimplicit-prelude -Wincomplete-record-updates -Wincomplete-uni-patterns -Wmissing-exported-signatures -Wmissing-local-signatures -Wmonomorphism-restriction -Wredundant-constraints -funbox-strict-fields -rtsopts -threaded -with-rtsopts=-N
  build-depends:
      Diff ==0.3.4 || >=0.4 && <0.5
    , ansi-terminal >=0.9 && <0.10 || >=0.10 && <0.11
    , base >=4.12 && <=4.15
    , filepath >=1.4.2 && <1.5
    , hlint
    , tasty >=1.3.1 && <1.4
    , text >=1.2 && <1.3
  if flag(development)
    ghc-options: -Werror
  else
    ghc-options: -Wwarn
  default-language: Haskell2010