packages feed

assert4hs-core-0.1.0: assert4hs-core.cabal

cabal-version:      1.12
name:               assert4hs-core
version:            0.1.0
license:            MIT
license-file:       LICENSE.md
copyright:          2021 Pawel Nosal
maintainer:         p.nosal1986@gmail.com
author:             Pawel Nosal
homepage:           https://github.com/paweln1986/assert4hs-core#readme
bug-reports:        https://github.com/paweln1986/assert4hs-core/issues
synopsis:           A set of assertion for writing more readable tests cases
description:
    Please see the README on GitHub at <https://github.com/paweln1986/assert4hs#readme>

category:           Testing
build-type:         Simple
extra-source-files:
    README.md
    ChangeLog.md

source-repository head
    type:     git
    location: https://github.com/paweln1986/assert4hs-core

library
    exposed-modules:
        Test.Fluent.Assertions
        Test.Fluent.Assertions.Core
        Test.Fluent.Assertions.Either
        Test.Fluent.Assertions.Exceptions
        Test.Fluent.Assertions.List
        Test.Fluent.Assertions.Maybe
        Test.Fluent.Diff
        Test.Fluent.Internal.AssertionConfig
        Test.Fluent.Internal.Assertions

    hs-source-dirs:     src
    other-modules:      Paths_assert4hs_core
    default-language:   Haskell2010
    default-extensions: OverloadedStrings BangPatterns
    ghc-options:
        -haddock -Wall -Wcompat -Wincomplete-record-updates
        -Wincomplete-uni-patterns -Wredundant-constraints
        -Wno-unused-do-bind -Werror=incomplete-patterns

    build-depends:
        base >=4.7 && <5,
        data-default >=0.7.1.1,
        pretty-diff >=0.4.0.0,
        text >=1.2.4.1

test-suite assert4hs-core-test
    type:               exitcode-stdio-1.0
    main-is:            Spec.hs
    hs-source-dirs:     test
    other-modules:
        Assertions.ListsSpec
        Assertions.MaybeSpec
        AssertionSpecUtils
        AssertionsSpec
        Paths_assert4hs_core

    default-language:   Haskell2010
    default-extensions: OverloadedStrings BangPatterns
    ghc-options:
        -haddock -Wall -Wcompat -Wincomplete-record-updates
        -Wincomplete-uni-patterns -Wredundant-constraints
        -Wno-unused-do-bind -Werror=incomplete-patterns -threaded -rtsopts
        -with-rtsopts=-N

    build-depends:
        assert4hs-core -any,
        base >=4.7 && <5,
        data-default >=0.7.1.1,
        hspec >=2.7.8,
        hspec-discover >=2.7.8,
        pretty-diff >=0.4.0.0,
        text >=1.2.4.1