cabal-version: 3.4 name: hcovguard version: 0.1.0.0 synopsis: A coverage ratchet tool for Haskell projects using HPC description: hcovguard reads HPC-generated coverage data and checks it against configurable thresholds defined in a TOML file. category: Testing, Development homepage: https://gitlab.com/telser/hcovguard bug-reports: https://gitlab.com/telser/hcovguard/issues author: Trevis Elser maintainer: oss@treviselser.com copyright: 2026 Trevis Elser license: MIT license-file: LICENSE build-type: Simple extra-source-files: README.md extra-doc-files: CHANGELOG.md man/hcovguard.1 tested-with: GHC == 9.6.7, GHC == 9.8.4, GHC == 9.10.3, GHC == 9.12.2 source-repository head type: git location: https://gitlab.com/telser/hcovguard flag ci description: More strict ghc options used for development and ci, not intended for end-use. manual: True default: False common ci-warnings ghc-options: -Wall -Wcompat -Werror -Wmissing-import-lists -Wmissing-export-lists -Wmissing-home-modules -Wmissed-specialisations -Wmonomorphism-restriction -Wpartial-fields -Wcpp-undef -Wredundant-constraints -Wmissing-local-signatures -Wunused-packages -Wunused-matches -Wunused-type-patterns -fwrite-ide-info if impl (ghc >= 9.2) ghc-options: -Winvalid-haddock -Wredundant-bang-patterns -Wimplicit-lift -Woperator-whitespace if impl (ghc >= 9.4) ghc-options: -Wredundant-strictness-flags if impl (ghc >= 9.8) ghc-options: -Wincomplete-export-warnings -Wimplicit-rhs-quantification -Wterm-variable-capture if impl (ghc >= 9.10) && impl (ghc < 9.14) ghc-options: -Wdeprecated-type-abstractions if impl (ghc >= 9.10) ghc-options: -Wdefaulted-exception-context if impl (ghc >= 9.12) ghc-options: -Wview-pattern-signatures executable hcovguard main-is: Main.hs other-modules: HCovGuard.Checks HCovGuard.Checks.CoverageCheck HCovGuard.Checks.ThresholdCheck HCovGuard.Config HCovGuard.Config.Config HCovGuard.Config.ForAnyModule HCovGuard.Config.ForSpecifiedModule HCovGuard.Config.Threshold HCovGuard.Coverage HCovGuard.Coverage.Calculator HCovGuard.Coverage.HpcLoader HCovGuard.Coverage.MixDiscovery Options Paths_hcovguard TomlHelper autogen-modules: Paths_hcovguard if flag(ci) import: ci-warnings build-depends: base >= 4.18 && < 5 , containers >= 0.6 && < 0.9 , directory >= 1.3.8 && < 1.4 , dlist >= 1.0 && < 1.1 , filepath >= 1.4.100 && < 1.6 , hpc >= 0.6 && < 0.8 , opt-env-conf >= 0.6 && < 0.14 , string-interpolate >= 0.3 && < 0.4 , text >= 1.2 && < 2.2 , tomland >= 1.3 && < 1.4 hs-source-dirs: exe ghc-options: -threaded -rtsopts "-with-rtsopts=-N" -funbox-strict-fields -O2 default-language: Haskell2010 other-extensions: CPP QuasiQuotes test-suite hcovguard-integration-tests type: exitcode-stdio-1.0 main-is: Main.hs if flag(ci) import: ci-warnings build-depends: base >= 4.17 && < 5 , bytestring >= 0.11 && < 0.13 , directory >= 1.3 && < 1.4 , process >= 1.6 && < 1.7 , tasty >= 1.4 && < 1.6 , tasty-golden >= 2.3 && < 2.4 , tasty-hunit >= 0.10 && < 0.11 , tasty-program >= 1.0 && < 1.2 hs-source-dirs: test/integration ghc-options: -threaded -rtsopts -with-rtsopts=-N default-language: Haskell2010