forked from sol/doctest
-
Notifications
You must be signed in to change notification settings - Fork 0
/
doctest.cabal
114 lines (108 loc) · 2.39 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
name: doctest
version: 0.9.11.1
synopsis: Test interactive Haskell examples
description: The doctest program checks examples in source code comments.
It is modeled after doctest for Python
(<http://docs.python.org/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-2014 Simon Hengel
author: Simon Hengel <sol@typeful.net>
maintainer: Simon Hengel <sol@typeful.net>
build-type: Simple
cabal-version: >= 1.8
extra-source-files: example/example.cabal
, example/src/Example.hs
, example/test/doctests.hs
source-repository head
type: git
location: https://github.com/sol/doctest
library
exposed-modules:
Test.DocTest
ghc-options:
-Wall
hs-source-dirs:
src
other-modules:
Extract
, GhcUtil
, Interpreter
, Location
, Help
, Parse
, Paths_doctest
, Property
, Runner
, Runner.Example
, Run
, Util
, Sandbox
build-depends:
base == 4.*
, ghc >= 7.0 && < 7.10
, syb >= 0.3 && < 0.5
, deepseq
, directory
, filepath
, process
, ghc-paths >= 0.1.0.9
, transformers
executable doctest
main-is:
Main.hs
ghc-options:
-Wall -threaded
hs-source-dirs:
driver
build-depends:
base == 4.*
, doctest
test-suite spec
main-is:
Spec.hs
type:
exitcode-stdio-1.0
ghc-options:
-Wall -threaded
cpp-options:
-DTEST
hs-source-dirs:
src, test
c-sources:
test/integration/with-cbits/foo.c
build-depends:
base
, ghc
, syb
, deepseq
, directory
, filepath
, process
, ghc-paths
, transformers
, base-compat >= 0.4.2
, HUnit
, hspec >= 1.5.1
, QuickCheck >= 2.5
, stringbuilder >= 0.4
, silently >= 1.2.4
, setenv
test-suite doctests
main-is:
doctests.hs
type:
exitcode-stdio-1.0
ghc-options:
-Wall -threaded
hs-source-dirs:
test
build-depends:
base
, doctest