Fix cabal build issue with test-suite
[packages/pretty.git] / pretty.cabal
1 name:          pretty
2 version:       1.1.1.1
3 synopsis:      Pretty-printing library
4 description:
5         This package contains a pretty-printing library, a set of API's
6         that provides a way to easily print out text in a consistent
7         format of your choosing. This is useful for compilers and related
8         tools.
9         .
10         This library was originally designed by John Hughes's and has since
11         been heavily modified by Simon Peyton Jones.
12
13 license:       BSD3
14 license-file:  LICENSE
15 category:      Text
16 maintainer:    David Terei <code@davidterei.com>
17 homepage:      http://github.com/haskell/pretty
18 bug-reports:   http://github.com/haskell/pretty/issues
19 stability:     Stable
20 build-type:    Simple
21 Extra-Source-Files: README.md CHANGELOG.md
22 Cabal-Version: >= 1.8
23
24 source-repository head
25     type:     git
26     location: http://github.com/haskell/pretty.git
27
28 Library
29     hs-source-dirs: src
30     exposed-modules:
31         Text.PrettyPrint
32         Text.PrettyPrint.HughesPJ
33     build-depends: base >= 3 && < 5,
34                    deepseq >= 1.1
35     extensions: CPP, BangPatterns
36     ghc-options: -Wall -fwarn-tabs
37
38 Test-Suite test-pretty
39     type: exitcode-stdio-1.0
40     hs-source-dirs: tests
41                     src
42     build-depends: base >= 3 && < 5,
43                    deepseq >= 1.1,
44                    QuickCheck >= 2.5 && <3
45     main-is: Test.hs
46     other-modules:
47         TestGenerators
48         TestStructures
49     extensions: CPP, BangPatterns
50     include-dirs: src/Text/PrettyPrint
51
52 -- Executable Bench1
53 --     main-is: Bench1.hs
54 --     hs-source-dirs: test
55 --                     src
56 --     other-modules:
57 --         Text.PrettyPrint
58 --         Text.PrettyPrint.HughesPJ
59 --     extensions: CPP, BangPatterns
60 --     ghc-options: -O -fwarn-tabs
61