File: doctest.cabal

package info (click to toggle)
haskell-doctest 0.9.1-1~bpo70%2B1
  • links: PTS
  • area: main
  • in suites: wheezy-backports
  • size: 124 kB
  • sloc: haskell: 738; makefile: 5
file content (104 lines) | stat: -rw-r--r-- 2,260 bytes parent folder | download
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
name:             doctest
version:          0.9.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-haskell#readme>.
category:         Testing
bug-reports:      https://github.com/sol/doctest-haskell/issues
homepage:         https://github.com/sol/doctest-haskell#readme
license:          MIT
license-file:     LICENSE
copyright:        (c) 2009-2012 Simon Hengel
author:           Simon Hengel <sol@typeful.net>
maintainer:       Simon Hengel <sol@typeful.net>
build-type:       Simple
cabal-version:    >= 1.8

source-repository head
  type: git
  location: https://github.com/sol/doctest-haskell

library
  exposed-modules:
      Test.DocTest
  ghc-options:
      -Wall
  hs-source-dirs:
      src
  other-modules:
      Extract
    , GhcUtil
    , Interpreter
    , Location
    , Help
    , Parse
    , Paths_doctest
    , Property
    , Report
    , Run
    , Util
  build-depends:
      base        >= 4.0  && < 4.7
    , ghc         >= 6.12 && < 7.8
    , syb
    , deepseq
    , directory
    , filepath
    , process
    , ghc-paths   == 0.1.*
    , transformers

executable doctest
  main-is:
      Main.hs
  ghc-options:
      -Wall -threaded
  hs-source-dirs:
      driver
  build-depends:
      base        >= 4.0  && < 4.7
    , doctest

test-suite spec
  main-is:
      Spec.hs
  type:
      exitcode-stdio-1.0
  ghc-options:
      -Wall -Werror -threaded
  cpp-options:
      -DTEST
  hs-source-dirs:
      src, test
  build-depends:
      base        >= 4.0  && < 4.7
    , ghc         >= 6.12 && < 7.8
    , syb
    , deepseq
    , directory
    , process
    , ghc-paths   == 0.1.*
    , transformers
    , HUnit       == 1.2.*
    , hspec       >= 1.3
    , QuickCheck  >= 2.5
    , stringbuilder
    , silently
    , filepath

test-suite doctests
  main-is:
      doctests.hs
  type:
      exitcode-stdio-1.0
  ghc-options:
      -Wall -Werror -threaded
  hs-source-dirs:
      test
  build-depends:
      base
    , doctest