forked from sol/doctest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
doctest.cabal
249 lines (242 loc) · 6.81 KB
/
doctest.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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
cabal-version: 1.12
-- This file has been generated from package.yaml by hpack version 0.33.0.
--
-- see: https://github.com/sol/hpack
--
-- hash: a5f986d148ee2304fff5f9d670fcb819b4c821e8f1c9f43497020870a53475ef
name: doctest
version: 0.18
synopsis: Test interactive Haskell examples
description: The doctest program checks examples in source code comments. It is modeled
after doctest for Python (<https://docs.python.org/3/library/doctest.html>).
.
Documentation is at <https://github.com/sol/doctest#readme>.
category: Testing
bug-reports: https://github.com/sol/doctest/issues
homepage: https://github.com/sol/doctest#readme
license: MIT
license-file: LICENSE
copyright: (c) 2009-2018 Simon Hengel
author: Simon Hengel <[email protected]>
maintainer: quasicomputational <[email protected]>
build-type: Simple
extra-source-files:
example/example.cabal
example/src/Example.hs
example/test/doctests.hs
test/parse/multiple-examples/Foo.hs
test/parse/no-examples/Fib.hs
test/parse/non-exported/Fib.hs
test/parse/property/Fib.hs
test/parse/setup-empty/Foo.hs
test/parse/setup-only/Foo.hs
test/parse/simple/Fib.hs
test/extract/argument-list/Foo.hs
test/extract/comment-order/Foo.hs
test/extract/declaration/Foo.hs
test/extract/dos-line-endings/Foo.hs
test/extract/export-list/Foo.hs
test/extract/imported-module/Bar.hs
test/extract/imported-module/Baz.hs
test/extract/module-header/Foo.hs
test/extract/named-chunks/Foo.hs
test/extract/regression/Fixity.hs
test/extract/regression/ForeignImport.hs
test/extract/regression/ParallelListComp.hs
test/extract/regression/ParallelListCompClass.hs
test/extract/regression/RewriteRules.hs
test/extract/regression/RewriteRulesWithSigs.hs
test/extract/setup/Foo.hs
test/extract/th/Bar.hs
test/extract/th/Foo.hs
test/extract/type-class-args/Foo.hs
test/extract/type-class/Foo.hs
test/extract/type-families/Foo.hs
test/integration/bugfixImportHierarchical/ModuleA.hs
test/integration/bugfixImportHierarchical/ModuleB.hs
test/integration/bugfixMultipleModules/ModuleA.hs
test/integration/bugfixMultipleModules/ModuleB.hs
test/integration/bugfixOutputToStdErr/Fib.hs
test/integration/bugfixWorkingDirectory/description
test/integration/bugfixWorkingDirectory/examples/Fib.hs
test/integration/bugfixWorkingDirectory/Fib.hs
test/integration/color/Foo.hs
test/integration/custom-package-conf/Bar.hs
test/integration/custom-package-conf/foo/doctest-foo.cabal
test/integration/custom-package-conf/foo/Foo.hs
test/integration/dos-line-endings/Fib.hs
test/integration/failing-multiple/Foo.hs
test/integration/failing/Foo.hs
test/integration/it/Foo.hs
test/integration/it/Setup.hs
test/integration/local-stderr-binding/A.hs
test/integration/multiline/Multiline.hs
test/integration/parse-error/Foo.hs
test/integration/property-bool-with-type-signature/Foo.hs
test/integration/property-bool/Foo.hs
test/integration/property-failing/Foo.hs
test/integration/property-implicitly-quantified/Foo.hs
test/integration/property-quantified/Foo.hs
test/integration/property-setup/Foo.hs
test/integration/setup-skip-on-failure/Foo.hs
test/integration/setup/Foo.hs
test/integration/system-io-imported/A.hs
test/integration/template-haskell-bugfix/Main.hs
test/integration/template-haskell-bugfix/Printf.hs
test/integration/template-haskell/Foo.hs
test/integration/test-options/Foo.hs
test/integration/testBlankline/Fib.hs
test/integration/testCombinedExample/Fib.hs
test/integration/testCommentLocation/Foo.hs
test/integration/testCPP/Foo.hs
test/integration/testDocumentationForArguments/Fib.hs
test/integration/testFailOnMultiline/Fib.hs
test/integration/testImport/ModuleA.hs
test/integration/testImport/ModuleB.hs
test/integration/testPutStr/Fib.hs
test/integration/testSimple/Fib.hs
test/integration/trailing-whitespace/Foo.hs
test/integration/with-cbits/Bar.hs
test/integration/with-cbits/foo.c
CHANGES
README.markdown
source-repository head
type: git
location: https://github.com/sol/doctest
library
ghc-options: -Wall
hs-source-dirs:
src
ghci-wrapper/src
exposed-modules:
Test.DocTest
other-modules:
Extract
GhcUtil
Interpreter
Location
Options
PackageDBs
Parse
Property
Run
Runner
Runner.Example
Util
Language.Haskell.GhciWrapper
Paths_doctest
build-depends:
base >=4.5 && <5
, base-compat >=0.7.0
, code-page >=0.1
, deepseq
, directory
, filepath
, ghc >=7.0 && <8.11
, ghc-paths >=0.1.0.9
, process
, syb >=0.3
, transformers
default-language: Haskell2010
executable doctest
main-is: Main.hs
other-modules:
Paths_doctest
ghc-options: -Wall -threaded
hs-source-dirs:
driver
build-depends:
base >=4.5 && <5
, base-compat >=0.7.0
, code-page >=0.1
, deepseq
, directory
, doctest
, filepath
, ghc >=7.0 && <8.11
, ghc-paths >=0.1.0.9
, process
, syb >=0.3
, transformers
default-language: Haskell2010
test-suite doctests
main-is: doctests.hs
type: exitcode-stdio-1.0
ghc-options: -Wall -threaded
hs-source-dirs:
test
build-depends:
base >=4.5 && <5
, base-compat >=0.7.0
, code-page >=0.1
, deepseq
, directory
, doctest
, filepath
, ghc >=7.0 && <8.11
, ghc-paths >=0.1.0.9
, process
, syb >=0.3
, transformers
default-language: Haskell2010
test-suite spec
main-is: Spec.hs
other-modules:
ExtractSpec
InterpreterSpec
LocationSpec
MainSpec
OptionsSpec
Orphans
PackageDBsSpec
ParseSpec
PropertySpec
Runner.ExampleSpec
RunnerSpec
RunSpec
UtilSpec
Extract
GhcUtil
Interpreter
Location
Options
PackageDBs
Parse
Property
Run
Runner
Runner.Example
Test.DocTest
Util
Language.Haskell.GhciWrapper
Paths_doctest
type: exitcode-stdio-1.0
ghc-options: -Wall -threaded
cpp-options: -DTEST
hs-source-dirs:
test
src
ghci-wrapper/src
c-sources:
test/integration/with-cbits/foo.c
build-depends:
HUnit
, QuickCheck >=2.13.1
, base >=4.5 && <5
, base-compat >=0.7.0
, code-page >=0.1
, deepseq
, directory
, filepath
, ghc >=7.0 && <8.11
, ghc-paths >=0.1.0.9
, hspec >=2.3.0
, hspec-core >=2.3.0
, mockery
, process
, setenv
, silently >=1.2.4
, stringbuilder >=0.4
, syb >=0.3
, transformers
default-language: Haskell2010