forked from eth-r/codecov-haskell
-
Notifications
You must be signed in to change notification settings - Fork 1
/
codecov-haskell.cabal
118 lines (111 loc) · 2.92 KB
/
codecov-haskell.cabal
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
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
name: codecov-haskell
version: 0.5.0.1
synopsis: Codecov.io support for Haskell.
description:
This utility converts and sends Haskell projects hpc code coverage to
<http://codecov.io/ codecov.io>.
.
/Usage/
.
Below is the simplest example of .travis.yml configuration to use with Travis CI:
.
> language: haskell
> ghc: 7.8
> script:
> - cabal configure --enable-tests --enable-library-coverage && cabal build && cabal test
> after_script:
> - cabal install codecov-haskell
> - codecov-haskell [options] [test-suite-names]
.
Further information can be found in the <https://github.com/guillaume-nargeot/codecov-haskell README>.
license: BSD3
license-file: LICENSE
author: Guillaume Nargeot
maintainer: Guillaume Nargeot <guillaume+hackage@nargeot.com>
copyright: (c) 2014-2015 Guillaume Nargeot
category: Control
build-type: Simple
stability: experimental
cabal-version: >= 1.8
tested-with: GHC == 7.6, GHC == 7.8
homepage: https://github.com/guillaume-nargeot/codecov-haskell
bug-reports: https://github.com/guillaume-nargeot/codecov-haskell/issues
extra-source-files:
README.md,
CHANGELOG.md
source-repository head
type: git
location: https://github.com/guillaume-nargeot/codecov-haskell.git
library
hs-source-dirs: src
exposed-modules:
Trace.Hpc.Codecov,
Trace.Hpc.Codecov.Lix,
Trace.Hpc.Codecov.Types,
Trace.Hpc.Codecov.Util
other-modules:
CodecovHaskellCmdLine,
Paths_codecov_haskell,
Trace.Hpc.Codecov.Config,
Trace.Hpc.Codecov.Curl,
Trace.Hpc.Codecov.Paths
build-depends:
aeson,
base >=4 && < 5,
bytestring >= 0.10,
containers >= 0.5,
cmdargs >= 0.10,
curl >= 1.3.8,
filepath,
hpc >= 0.6,
retry >= 0.7,
safe >= 0.3,
split
executable codecov-haskell
hs-source-dirs: src
main-is: CodecovHaskellMain.hs
other-modules:
CodecovHaskellCmdLine,
Paths_codecov_haskell,
Trace.Hpc.Codecov.Config,
Trace.Hpc.Codecov.Curl,
Trace.Hpc.Codecov.Paths,
Trace.Hpc.Codecov,
Trace.Hpc.Codecov.Lix,
Trace.Hpc.Codecov.Types,
Trace.Hpc.Codecov.Util
build-depends:
aeson,
base >= 4 && < 5,
bytestring >= 0.10,
containers >= 0.5,
cmdargs >= 0.10,
curl >= 1.3.8,
filepath,
hpc >= 0.6,
retry >= 0.5,
safe >= 0.3,
split
ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns
executable run-cabal-test
hs-source-dirs: src
main-is: RunCabalTestMain.hs
build-depends:
async >= 2.0,
base >=4 && < 5,
process,
regex-posix,
split
ghc-options: -Wall -fwarn-tabs -fwarn-incomplete-uni-patterns
test-suite test-all
hs-source-dirs: test
type: exitcode-stdio-1.0
main-is: TestAll.hs
build-depends:
base,
codecov-haskell,
HUnit
ghc-options: -Wall
other-modules:
TestCodecovHaskellLix
TestCodecovHaskellUtil