]> git.wincent.com - docvim.git/blob - docvim.cabal
Fix remaining warnings
[docvim.git] / docvim.cabal
1 -- Initial docvim.cabal generated by cabal init.  For further
2 -- documentation, see http://haskell.org/cabal/users-guide/
3
4 -- The name of the package.
5 name:                docvim
6
7 -- The package version.  See the Haskell package versioning policy (PVP)
8 -- for standards guiding when and how versions should be incremented.
9 -- http://www.haskell.org/haskellwiki/Package_versioning_policy
10 -- PVP summary:      +-+------- breaking API changes
11 --                   | | +----- non-breaking API additions
12 --                   | | | +--- code changes with no API change
13 version:             0.2.0.0
14
15 -- A short (one-line) description of the package.
16 synopsis:            Documentation generator for Vim plug-ins
17
18 -- A longer description of the package.
19 description:         Produces Vim help and HTML (via Markdown) documentation.
20
21 -- URL for the project homepage or repository.
22 homepage:            https://github.com/wincent/docvim
23
24 -- The license under which the package is released.
25 license:             MIT
26
27 -- The file containing the license text.
28 license-file:        LICENSE.md
29
30 -- The package author(s).
31 author:              Greg Hurrell
32
33 -- An email address to which users can send suggestions, bug reports, and
34 -- patches.
35 maintainer:          greg@hurrell.net
36
37 -- A copyright notice.
38 copyright:           2015-present Greg Hurrell
39
40 category:            Development
41
42 build-type:          Simple
43
44 -- Extra files to be distributed with the package, such as examples or a
45 -- README.
46 extra-source-files:  README.md
47
48 -- Constraint on the version of Cabal needed to build this package.
49 cabal-version:       >=1.10
50
51 source-repository head
52   type:     git
53   location: https://github.com/wincent/docvim.git
54
55 source-repository this
56   type:     git
57   location: https://github.com/wincent/docvim.git
58   tag:      0.2.0.0
59
60 executable docvim
61   -- .hs or .lhs file containing the Main module.
62   main-is:             Main.hs
63
64   -- Modules included in this executable, other than Main.
65   -- other-modules:
66
67   -- LANGUAGE extensions used by modules in this package.
68   -- other-extensions:
69
70   -- Other library packages from which modules are imported.
71   build-depends:       base >=4.8 && <4.9
72                ,       docvim
73
74   ghc-options:         -W -Wall -Werror
75
76   -- Directories containing source files.
77   hs-source-dirs:      src
78
79   -- Base language which the package is written in.
80   default-language:    Haskell2010
81
82 library
83   build-depends:    base
84                ,    containers
85                ,    directory
86                ,    filepath
87
88                     -- Third party
89                ,    dlist
90                ,    lens
91                ,    mtl
92                ,    optparse-applicative
93                ,    parsec
94                ,    pretty-show
95                ,    split
96   default-language:    Haskell2010
97   exposed-modules:  Text.Docvim.AST
98                  ,  Text.Docvim.CLI
99                  ,  Text.Docvim.Compile
100                  ,  Text.Docvim.Options
101                  ,  Text.Docvim.Parse
102                  ,  Text.Docvim.Printer.Markdown
103                  ,  Text.Docvim.Printer.Vim
104                  ,  Text.Docvim.ReadDir
105                  ,  Text.Docvim.Util
106                  ,  Text.Docvim.Visitor
107                  ,  Text.Docvim.Visitor.Command
108                  ,  Text.Docvim.Visitor.Commands
109                  ,  Text.Docvim.Visitor.Footer
110                  ,  Text.Docvim.Visitor.Function
111                  ,  Text.Docvim.Visitor.Functions
112                  ,  Text.Docvim.Visitor.Heading
113                  ,  Text.Docvim.Visitor.Mapping
114                  ,  Text.Docvim.Visitor.Mappings
115                  ,  Text.Docvim.Visitor.Option
116                  ,  Text.Docvim.Visitor.Options
117                  ,  Text.Docvim.Visitor.Plugin
118                  ,  Text.Docvim.Visitor.Section
119                  ,  Text.Docvim.Visitor.Symbol
120                  ,  Paths_docvim
121   ghc-options:      -W -Wall -Werror
122   hs-source-dirs:   lib
123
124 test-suite hlint
125   build-depends:    base
126                ,    hlint
127   default-language: Haskell2010
128   ghc-options:      -W -Wall -Werror
129   hs-source-dirs:   tests
130   main-is:          HLint.hs
131   type:             exitcode-stdio-1.0
132
133 test-suite tasty
134   build-depends:    base >= 4 && < 5
135                ,    bytestring
136                ,    containers
137                ,    deepseq
138                ,    dlist
139                ,    docvim
140                ,    filepath
141                ,    lens
142                ,    mtl
143                ,    parsec
144                ,    pretty-show
145                ,    process
146                ,    split
147                ,    tasty
148                ,    tasty-golden
149                ,    tasty-hunit
150                ,    temporary
151   other-modules:     Text.Docvim.AST
152                ,     Text.Docvim.Compile
153                ,     Text.Docvim.Parse
154                ,     Text.Docvim.Printer.Markdown
155                ,     Text.Docvim.Printer.Vim
156                ,     Text.Docvim.Util
157                ,     Text.Docvim.Visitor
158                ,     Text.Docvim.Visitor.Command
159                ,     Text.Docvim.Visitor.Commands
160                ,     Text.Docvim.Visitor.Footer
161                ,     Text.Docvim.Visitor.Function
162                ,     Text.Docvim.Visitor.Functions
163                ,     Text.Docvim.Visitor.Heading
164                ,     Text.Docvim.Visitor.Mapping
165                ,     Text.Docvim.Visitor.Mappings
166                ,     Text.Docvim.Visitor.Option
167                ,     Text.Docvim.Visitor.Options
168                ,     Text.Docvim.Visitor.Plugin
169                ,     Text.Docvim.Visitor.Section
170                ,     Text.Docvim.Visitor.Symbol
171   default-language: Haskell2010
172   ghc-options:      -W -Wall -Werror
173   hs-source-dirs:   tests
174                 ,   lib
175   main-is:          Tasty.hs
176   type:             exitcode-stdio-1.0