forked from sol/doctest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.yaml
73 lines (64 loc) · 1.64 KB
/
package.yaml
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
name: doctest
version: 0.21.0
synopsis: Test interactive Haskell examples
description: |
`doctest` is a tool that checks [examples](https://www.haskell.org/haddock/doc/html/ch03s08.html#idm140354810775744)
and [properties](https://www.haskell.org/haddock/doc/html/ch03s08.html#idm140354810771856)
in Haddock comments.
It is similar in spirit to the [popular Python module with the same name](https://docs.python.org/3/library/doctest.html).
Documentation is at <https://github.com/sol/doctest#readme>.
category: Testing
copyright: (c) 2009-2022 Simon Hengel
author: Simon Hengel <[email protected]>
maintainer: [email protected], Andreas Abel
github: sol/doctest
extra-source-files:
- example/**/*
- test/parse/**/*
- test/extract/**/*
- test/integration/**/*
- CHANGES.markdown
- README.md
ghc-options: -Wall
dependencies:
- base >= 4.5 && < 5
- base-compat >= 0.7.0
- ghc >= 8.0 && < 9.5
- syb >= 0.3
- code-page >= 0.1
- deepseq
- directory
- exceptions
- filepath
- process
- ghc-paths >= 0.1.0.9
- transformers
library:
source-dirs:
- src
exposed-modules:
- Test.DocTest
executable:
main: Main.hs
ghc-options: -threaded
source-dirs: driver
dependencies: doctest
tests:
spec:
build-tools: hspec-discover
main: Spec.hs
ghc-options: -threaded
cpp-options: -DTEST
source-dirs:
- test
- src
c-sources: test/integration/with-cbits/foo.c
dependencies:
- HUnit
- hspec >= 2.3.0
- hspec-core >= 2.3.0
- QuickCheck >= 2.13.1
- stringbuilder >= 0.4
- silently >= 1.2.4
- setenv
- mockery