forked from haskell/cabal
-
Notifications
You must be signed in to change notification settings - Fork 1
/
cabal.project.coverage
79 lines (64 loc) · 1.79 KB
/
cabal.project.coverage
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
packages: Cabal-syntax/ Cabal/ cabal-testsuite/
packages: cabal-install/
packages: cabal-install-solver/
packages: solver-benchmarks/
tests: True
packages: Cabal-QuickCheck/
packages: Cabal-tree-diff/
packages: Cabal-described
packages: Cabal-tests/
packages: cabal-benchmarks/
-- Uncomment to allow picking up extra local unpacked deps:
--optional-packages: */
-- Remove after hackage-repo-tool release
allow-newer:
hackage-repo-tool:optparse-applicative
allow-newer:
hackage-security:Cabal
-- https://github.com/haskell-hvr/windns/pull/2
allow-newer: windns-0.1.0.1:base
-- avoiding extra dependencies
constraints: rere -rere-cfg
constraints: these
-- NOTE: for library coverage in multi-project builds,
-- see:
--
-- * https://github.com/haskell/cabal/issues/6440
-- * https://github.com/haskell/cabal/issues/5213#issuecomment-586517129
--
-- We must mask coverage for dependencies of `cabal-install` in
-- multiproject settings in order to generate coverage for
-- the `cabal-install` library
--
package Cabal-syntax
ghc-options: -fno-ignore-asserts
coverage: False
library-coverage: False
package Cabal
ghc-options: -fno-ignore-asserts
coverage: False
library-coverage: False
package cabal-testsuite
ghc-options: -fno-ignore-asserts
coverage: False
library-coverage: False
package Cabal-QuickCheck
ghc-options: -fno-ignore-asserts
coverage: False
library-coverage: False
package Cabal-tree-diff
ghc-options: -fno-ignore-asserts
coverage: False
library-coverage: False
package Cabal-described
ghc-options: -fno-ignore-asserts
coverage: False
library-coverage: False
package cabal-install-solver
ghc-options: -fno-ignore-asserts
coverage: False
library-coverage: False
package cabal-install
ghc-options: -fno-ignore-asserts
coverage: True
library-coverage: True