Restructure code base.
[packages/pretty.git] / pretty.cabal
1 name:          pretty
2 version:       1.1.1.0
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 <dave.terei@gmail.com>
17 homepage:      http://github.com/haskell/pretty
18 bug-reports:   http://hackage.haskell.org/trac/ghc/newticket?component=libraries/pretty
19 stability:     Stable
20 build-type:    Simple
21 Extra-Source-Files: README CHANGELOG
22 Cabal-Version: >= 1.6
23
24 Library
25     hs-source-dirs: src
26     exposed-modules:
27         Text.PrettyPrint
28         Text.PrettyPrint.HughesPJ
29     build-depends: base >= 3 && < 5
30     extensions: CPP
31     ghc-options: -Wall -Werror -O -fwarn-tabs
32
33 Test-Suite test-pretty
34     type: exitcode-stdio-1.0
35     hs-source-dirs: test
36                     src
37     build-depends: base >= 3 && < 5,
38                    QuickCheck == 1.*
39     main-is: Test.hs
40     extensions: CPP
41     include-dirs: src/Text/PrettyPrint
42
43 -- Executable Bench1
44 --     Main-Is: Bench1.hs
45 --     Other-Modules:
46 --         Text.PrettyPrint
47 --         Text.PrettyPrint.HughesPJ
48 --         Text.PrettyPrint.Core
49 --     ghc-options: -Wall -Werror -O -fwarn-tabs
50
51 source-repository head
52     type:     git
53     location: http://github.com/haskell/pretty.git
54