packages feed

tasty-focus-1.0.0: tasty-focus.cabal

cabal-version:   2.4
name:            tasty-focus
version:         1.0.0
license:         BSD-3-Clause
build-type:      Simple
license-file:    LICENSE
author:          Jonas Carpay
maintainer:      Jonas Carpay <jonascarpay@gmail.com>
copyright:       2020 Jonas Carpay
tested-with:     GHC ==8.10.2
synopsis:        Simple focus mechanism for tasty
description:     Simple focus mechanism for tasty, similar to hspec.
extra-doc-files:
  CHANGELOG.md
  README.md

common common-options
  build-depends:    base >=4.9 && <5
  default-language: Haskell2010
  ghc-options:
    -Wall -Wcompat -Widentities -Wincomplete-uni-patterns
    -Wincomplete-record-updates -Wredundant-constraints
    -fhide-source-paths -Wpartial-fields

library
  import:          common-options
  hs-source-dirs:  src
  exposed-modules: Test.Tasty.Focus
  build-depends:
    , tagged
    , tasty

test-suite tasty-focus-test
  import:         common-options
  type:           exitcode-stdio-1.0
  hs-source-dirs: test
  main-is:        Spec.hs
  build-depends:
    , tasty
    , tasty-expected-failure
    , tasty-focus
    , tasty-hunit

  ghc-options:    -threaded -rtsopts -with-rtsopts=-N