Files
haskell.nix/test/coverage/pkgb/pkgb.cabal
T
Samuel Evans-PowellandGitHub 48b8674f5f Add support for coverage (#762)
- Added the ability to generate coverage reports for packages and
  projects.
  - Outputs mix and tix information, as well as a HTML report.
- Added the "doCoverage" module option that allows users to choose
  packages to enable coverage for.
- Added a "doCoverage" flag to the component builder that outputs HPC
  information when coverage is enabled.
- Added the "overrideModules" library function to make it more
  ergonomic fo users to enable coverage on existing projects.
- Modified the "check" builder to also output ".tix" files (if they
  exist). This information is required to generate the coverage
  report.
- Added a test for coverage.
2020-09-29 11:56:24 +08:00

44 lines
1.2 KiB
Plaintext

cabal-version: 2.2
-- Initial package description 'pkgb.cabal' generated by 'cabal init'. For
-- further documentation, see http://haskell.org/cabal/users-guide/
name: pkgb
version: 0.1.0.0
-- synopsis:
-- description:
-- bug-reports:
license: LicenseRef-PublicDomain
author: Rodney Lorrimar
maintainer: rodney.lorrimar@iohk.io
category: Testing
library
exposed-modules: ConduitExample
, PkgB
build-depends: base
, pkga
, conduit
, conduit-extra
, directory
, resourcet
hs-source-dirs: src
default-language: Haskell2010
executable pkgb
main-is: Main.hs
build-depends: base
, pkgb
, optparse-applicative
, text
hs-source-dirs: app
default-language: Haskell2010
test-suite tests
type: exitcode-stdio-1.0
main-is: tests.hs
hs-source-dirs: app
build-depends: base
, pkgb
, process
build-tools: pkga