haskell.nix/test/extra-hackage
Samuel Evans-Powell 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
..
external-package-demo External hackages (#535) 2020-05-02 18:16:34 +08:00
external-package-user External hackages (#535) 2020-05-02 18:16:34 +08:00
hackage Spelling, typo and whitespace fixes (#833) 2020-08-31 11:08:25 +12:00
01-index.tar.gz External hackages (#535) 2020-05-02 18:16:34 +08:00
default.nix Add support for coverage (#762) 2020-09-29 11:56:24 +08:00
external-package-demo-0.1.0.0.tar.gz External hackages (#535) 2020-05-02 18:16:34 +08:00
README.md External hackages (#535) 2020-05-02 18:16:34 +08:00

Tests for extra Hackage functionality

This directory contains two packages, external-package-demo and external-package-user, the second one depends on the first one. Both packages were created with cabal init.

external-package-demo was uploaded to local Hackage at localhost and 01-index.tar.gz from that Hackage was downloaded to this directory. Then the index file was processed with hackage-to-nix, the result is in hackage/ directory.

The tests check that cabalProject' is able to construct plan with dependencies from extra Hackage and then build the package itself.