forked from haskell/cabal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
cabal.project
84 lines (70 loc) · 1.98 KB
/
cabal.project
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
80
81
82
83
84
packages: Cabal/ cabal-testsuite/
packages: cabal-install-solver/
packages: cabal-install/
packages: solver-benchmarks/
tests: True
packages: Cabal-QuickCheck/
packages: Cabal-tree-diff/
packages: Cabal-described
packages: Cabal-tests/
packages: cabal-benchmarks/
packages: vendor/cabal-doctest-1.0.8
-- 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 -assoc
-- So us hackers get all the assertion failures early:
--
-- NOTE: currently commented out, see
-- https://github.com/haskell/cabal/issues/3911
-- as a workaround we specify it for each package individually:
--
-- program-options
-- ghc-options: -fno-ignore-asserts
--
-- 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
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