forked from sol/doctest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.yaml
80 lines (70 loc) · 1.61 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
74
75
76
77
78
79
80
name: doctest
version: 0.17
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
license: MIT
copyright: (c) 2009-2018 Simon Hengel
author: Simon Hengel <[email protected]>
maintainer: quasicomputational <[email protected]>
github: sol/doctest
extra-source-files:
- example/**/*
- test/parse/**/*
- test/extract/**/*
- test/integration/**/*
- test/sandbox/*
- CHANGES
- README.markdown
ghc-options: -Wall
dependencies:
- base >= 4.5 && < 5
- base-compat >= 0.7.0
- ghc >= 7.0 && < 8.11
- syb >= 0.3
- code-page >= 0.1
- deepseq
- directory
- filepath
- process
- ghc-paths >= 0.1.0.9
- transformers
library:
source-dirs:
- src
- ghci-wrapper/src
exposed-modules:
- Test.DocTest
executable:
main: Main.hs
ghc-options: -threaded
source-dirs: driver
dependencies: doctest
tests:
spec:
main: Spec.hs
ghc-options: -threaded
cpp-options: -DTEST
source-dirs:
- test
- src
- ghci-wrapper/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
doctests:
main: doctests.hs
other-modules: []
ghc-options: -threaded
source-dirs: test
dependencies: doctest