]> git.wincent.com - docvim.git/blob - docvim.cabal
Allow bang in command names
[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.3.2.1
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-source-files:  README.md
45                   -- Created with:
46                   -- :read !find tests/fixtures -type f -and -name '*.vim' -or -name '*.golden'
47                   ,  tests/fixtures/integration/command-t/golden/ast.golden
48                   ,  tests/fixtures/integration/command-t/golden/markdown.golden
49                   ,  tests/fixtures/integration/command-t/golden/plaintext.golden
50                   ,  tests/fixtures/integration/command-t/input/autoload/commandt/isengard.vim
51                   ,  tests/fixtures/integration/command-t/input/autoload/commandt/mirkwood.vim
52                   ,  tests/fixtures/integration/command-t/input/autoload/commandt/private.vim
53                   ,  tests/fixtures/integration/command-t/input/autoload/commandt.vim
54                   ,  tests/fixtures/integration/command-t/input/plugin/command-t.vim
55                   ,  tests/fixtures/integration/ferret/golden/ast.golden
56                   ,  tests/fixtures/integration/ferret/golden/markdown.golden
57                   ,  tests/fixtures/integration/ferret/golden/plaintext.golden
58                   ,  tests/fixtures/integration/ferret/input/autoload/ferret/private/async.vim
59                   ,  tests/fixtures/integration/ferret/input/autoload/ferret/private/dispatch.vim
60                   ,  tests/fixtures/integration/ferret/input/autoload/ferret/private/vanilla.vim
61                   ,  tests/fixtures/integration/ferret/input/autoload/ferret/private.vim
62                   ,  tests/fixtures/integration/ferret/input/ftplugin/qf.vim
63                   ,  tests/fixtures/integration/ferret/input/plugin/ferret.vim
64                   ,  tests/fixtures/integration/loupe/golden/ast.golden
65                   ,  tests/fixtures/integration/loupe/golden/markdown.golden
66                   ,  tests/fixtures/integration/loupe/golden/plaintext.golden
67                   ,  tests/fixtures/integration/loupe/input/autoload/loupe/private.vim
68                   ,  tests/fixtures/integration/loupe/input/autoload/loupe.vim
69                   ,  tests/fixtures/integration/loupe/input/plugin/loupe.vim
70                   ,  tests/fixtures/integration/pinnacle/golden/ast.golden
71                   ,  tests/fixtures/integration/pinnacle/golden/markdown.golden
72                   ,  tests/fixtures/integration/pinnacle/golden/plaintext.golden
73                   ,  tests/fixtures/integration/pinnacle/input/autoload/pinnacle.vim
74                   ,  tests/fixtures/integration/scalpel/golden/ast.golden
75                   ,  tests/fixtures/integration/scalpel/golden/markdown.golden
76                   ,  tests/fixtures/integration/scalpel/golden/plaintext.golden
77                   ,  tests/fixtures/integration/scalpel/input/autoload/scalpel.vim
78                   ,  tests/fixtures/integration/scalpel/input/plugin/scalpel.vim
79                   ,  tests/fixtures/integration/terminus/golden/ast.golden
80                   ,  tests/fixtures/integration/terminus/golden/markdown.golden
81                   ,  tests/fixtures/integration/terminus/golden/plaintext.golden
82                   ,  tests/fixtures/integration/terminus/input/autoload/terminus/private.vim
83                   ,  tests/fixtures/integration/terminus/input/plugin/terminus.vim
84                   ,  tests/fixtures/integration/vim-clipper/golden/ast.golden
85                   ,  tests/fixtures/integration/vim-clipper/golden/markdown.golden
86                   ,  tests/fixtures/integration/vim-clipper/golden/plaintext.golden
87                   ,  tests/fixtures/integration/vim-clipper/input/autoload/clipper/private.vim
88                   ,  tests/fixtures/integration/vim-clipper/input/plugin/clipper.vim
89                   ,  tests/fixtures/integration/vim-docvim/golden/ast.golden
90                   ,  tests/fixtures/integration/vim-docvim/golden/markdown.golden
91                   ,  tests/fixtures/integration/vim-docvim/golden/plaintext.golden
92                   ,  tests/fixtures/integration/vim-docvim/input/after/syntax/vim.vim
93                   ,  tests/fixtures/integration/vim-docvim/input/ftplugin/vim.vim
94                   ,  tests/fixtures/markdown/basic-paragraphs.golden
95                   ,  tests/fixtures/markdown/basic-paragraphs.vim
96                   ,  tests/fixtures/markdown/blockquotes.golden
97                   ,  tests/fixtures/markdown/blockquotes.vim
98                   ,  tests/fixtures/markdown/break-tags.golden
99                   ,  tests/fixtures/markdown/break-tags.vim
100                   ,  tests/fixtures/markdown/code.golden
101                   ,  tests/fixtures/markdown/code.vim
102                   ,  tests/fixtures/markdown/fenced.golden
103                   ,  tests/fixtures/markdown/fenced.vim
104                   ,  tests/fixtures/markdown/headings.golden
105                   ,  tests/fixtures/markdown/headings.vim
106                   ,  tests/fixtures/markdown/link-targets.golden
107                   ,  tests/fixtures/markdown/link-targets.vim
108                   ,  tests/fixtures/markdown/links.golden
109                   ,  tests/fixtures/markdown/links.vim
110                   ,  tests/fixtures/markdown/list-items.golden
111                   ,  tests/fixtures/markdown/list-items.vim
112                   ,  tests/fixtures/markdown/ordering-across-docblocks.golden
113                   ,  tests/fixtures/markdown/ordering-across-docblocks.vim
114                   ,  tests/fixtures/markdown/ordering-within-docblocks.golden
115                   ,  tests/fixtures/markdown/ordering-within-docblocks.vim
116                   ,  tests/fixtures/markdown/separator.golden
117                   ,  tests/fixtures/markdown/separator.vim
118                   ,  tests/fixtures/parser/backticks.golden
119                   ,  tests/fixtures/parser/backticks.vim
120                   ,  tests/fixtures/parser/blank-docblock-lines.golden
121                   ,  tests/fixtures/parser/blank-docblock-lines.vim
122                   ,  tests/fixtures/parser/blockquotes.golden
123                   ,  tests/fixtures/parser/blockquotes.vim
124                   ,  tests/fixtures/parser/br-tags.golden
125                   ,  tests/fixtures/parser/br-tags.vim
126                   ,  tests/fixtures/parser/command.golden
127                   ,  tests/fixtures/parser/command.vim
128                   ,  tests/fixtures/parser/commands.golden
129                   ,  tests/fixtures/parser/commands.vim
130                   ,  tests/fixtures/parser/comments.golden
131                   ,  tests/fixtures/parser/comments.vim
132                   ,  tests/fixtures/parser/empty-function.golden
133                   ,  tests/fixtures/parser/empty-function.vim
134                   ,  tests/fixtures/parser/empty.golden
135                   ,  tests/fixtures/parser/empty.vim
136                   ,  tests/fixtures/parser/endfunction.golden
137                   ,  tests/fixtures/parser/endfunction.vim
138                   ,  tests/fixtures/parser/fenced-code-blocks.golden
139                   ,  tests/fixtures/parser/fenced-code-blocks.vim
140                   ,  tests/fixtures/parser/function-autoloaded.golden
141                   ,  tests/fixtures/parser/function-autoloaded.vim
142                   ,  tests/fixtures/parser/function-bang.golden
143                   ,  tests/fixtures/parser/function-bang.vim
144                   ,  tests/fixtures/parser/function-command-variants.golden
145                   ,  tests/fixtures/parser/function-command-variants.vim
146                   ,  tests/fixtures/parser/function-script-local.golden
147                   ,  tests/fixtures/parser/function-script-local.vim
148                   ,  tests/fixtures/parser/function-varargs.golden
149                   ,  tests/fixtures/parser/function-varargs.vim
150                   ,  tests/fixtures/parser/function-with-nested-contents.golden
151                   ,  tests/fixtures/parser/function-with-nested-contents.vim
152                   ,  tests/fixtures/parser/functions-with-attributes.golden
153                   ,  tests/fixtures/parser/functions-with-attributes.vim
154                   ,  tests/fixtures/parser/functions.golden
155                   ,  tests/fixtures/parser/functions.vim
156                   ,  tests/fixtures/parser/headings.golden
157                   ,  tests/fixtures/parser/headings.vim
158                   ,  tests/fixtures/parser/just-whitespace.golden
159                   ,  tests/fixtures/parser/just-whitespace.vim
160                   ,  tests/fixtures/parser/let.golden
161                   ,  tests/fixtures/parser/let.vim
162                   ,  tests/fixtures/parser/lexpr.golden
163                   ,  tests/fixtures/parser/lexpr.vim
164                   ,  tests/fixtures/parser/link-targets.golden
165                   ,  tests/fixtures/parser/link-targets.vim
166                   ,  tests/fixtures/parser/links.golden
167                   ,  tests/fixtures/parser/links.vim
168                   ,  tests/fixtures/parser/list-items.golden
169                   ,  tests/fixtures/parser/list-items.vim
170                   ,  tests/fixtures/parser/lw.golden
171                   ,  tests/fixtures/parser/lw.vim
172                   ,  tests/fixtures/parser/mappings.golden
173                   ,  tests/fixtures/parser/mappings.vim
174                   ,  tests/fixtures/parser/minimal-annotation.golden
175                   ,  tests/fixtures/parser/minimal-annotation.vim
176                   ,  tests/fixtures/parser/options.golden
177                   ,  tests/fixtures/parser/options.vim
178                   ,  tests/fixtures/parser/phrasing-content.golden
179                   ,  tests/fixtures/parser/phrasing-content.vim
180                   ,  tests/fixtures/parser/plugin-annotation.golden
181                   ,  tests/fixtures/parser/plugin-annotation.vim
182                   ,  tests/fixtures/parser/simple-annotations.golden
183                   ,  tests/fixtures/parser/simple-annotations.vim
184                   ,  tests/fixtures/parser/trailing-comment.golden
185                   ,  tests/fixtures/parser/trailing-comment.vim
186                   ,  tests/fixtures/vim/basic-paragraphs.golden
187                   ,  tests/fixtures/vim/blockquotes.golden
188                   ,  tests/fixtures/vim/break-tags.golden
189                   ,  tests/fixtures/vim/code.golden
190                   ,  tests/fixtures/vim/fenced.golden
191                   ,  tests/fixtures/vim/headings.golden
192                   ,  tests/fixtures/vim/link-targets.golden
193                   ,  tests/fixtures/vim/links.golden
194                   ,  tests/fixtures/vim/list-items.golden
195                   ,  tests/fixtures/vim/options.golden
196                   ,  tests/fixtures/vim/options.vim
197                   ,  tests/fixtures/vim/plugin.golden
198                   ,  tests/fixtures/vim/plugin.vim
199
200 -- Constraint on the version of Cabal needed to build this package.
201 cabal-version:       >=1.10
202
203 source-repository head
204   type:     git
205   location: https://github.com/wincent/docvim.git
206
207 source-repository this
208   type:     git
209   location: https://github.com/wincent/docvim.git
210   tag:      0.3.2.1
211
212 executable docvim
213   -- .hs or .lhs file containing the Main module.
214   main-is:             Main.hs
215
216   -- Modules included in this executable, other than Main.
217   -- other-modules:
218
219   -- LANGUAGE extensions used by modules in this package.
220   -- other-extensions:
221
222   -- Other library packages from which modules are imported.
223   build-depends:       base < 5
224                ,       docvim
225
226   ghc-options:         -W -Wall
227
228   -- Directories containing source files.
229   hs-source-dirs:      src
230
231   -- Base language which the package is written in.
232   default-language:    Haskell2010
233
234 library
235   build-depends:    base < 5
236                ,    containers
237                ,    directory
238                ,    filepath
239
240                     -- Third party
241                ,    dlist
242                ,    lens
243                ,    mtl
244                ,    optparse-applicative
245                ,    parsec
246                ,    pretty-show
247                ,    split
248   default-language:    Haskell2010
249   exposed-modules:  Text.Docvim.AST
250                  ,  Text.Docvim.CLI
251                  ,  Text.Docvim.Compile
252                  ,  Text.Docvim.Optimize
253                  ,  Text.Docvim.Options
254                  ,  Text.Docvim.Parse
255                  ,  Text.Docvim.Printer.Markdown
256                  ,  Text.Docvim.Printer.Vim
257                  ,  Text.Docvim.ReadDir
258                  ,  Text.Docvim.Util
259                  ,  Text.Docvim.Visitor
260                  ,  Text.Docvim.Visitor.Command
261                  ,  Text.Docvim.Visitor.Commands
262                  ,  Text.Docvim.Visitor.Footer
263                  ,  Text.Docvim.Visitor.Function
264                  ,  Text.Docvim.Visitor.Functions
265                  ,  Text.Docvim.Visitor.Heading
266                  ,  Text.Docvim.Visitor.Mapping
267                  ,  Text.Docvim.Visitor.Mappings
268                  ,  Text.Docvim.Visitor.Option
269                  ,  Text.Docvim.Visitor.Options
270                  ,  Text.Docvim.Visitor.Plugin
271                  ,  Text.Docvim.Visitor.Section
272                  ,  Text.Docvim.Visitor.Symbol
273   other-modules:    Paths_docvim
274   ghc-options:      -W -Wall
275   hs-source-dirs:   lib
276
277 test-suite hlint
278   build-depends:    base < 5
279                ,    hlint
280   default-language: Haskell2010
281   ghc-options:      -W -Wall
282   hs-source-dirs:   tests
283   main-is:          HLint.hs
284   type:             exitcode-stdio-1.0
285
286 test-suite tasty
287   build-depends:    base < 5
288                ,    bytestring
289                ,    containers
290                ,    deepseq
291                ,    directory
292                ,    dlist
293                ,    docvim
294                ,    filepath
295                ,    lens
296                ,    mtl
297                ,    parsec
298                ,    pretty-show
299                ,    process
300                ,    split
301                ,    tasty
302                ,    tasty-golden
303                ,    tasty-hunit
304                ,    temporary
305                ,    utf8-string
306   other-modules:     Text.Docvim.AST
307                ,     Text.Docvim.Compile
308                ,     Text.Docvim.Optimize
309                ,     Text.Docvim.Parse
310                ,     Text.Docvim.Printer.Markdown
311                ,     Text.Docvim.Printer.Vim
312                ,     Text.Docvim.Util
313                ,     Text.Docvim.Visitor
314                ,     Text.Docvim.Visitor.Command
315                ,     Text.Docvim.Visitor.Commands
316                ,     Text.Docvim.Visitor.Footer
317                ,     Text.Docvim.Visitor.Function
318                ,     Text.Docvim.Visitor.Functions
319                ,     Text.Docvim.Visitor.Heading
320                ,     Text.Docvim.Visitor.Mapping
321                ,     Text.Docvim.Visitor.Mappings
322                ,     Text.Docvim.Visitor.Option
323                ,     Text.Docvim.Visitor.Options
324                ,     Text.Docvim.Visitor.Plugin
325                ,     Text.Docvim.Visitor.Section
326                ,     Text.Docvim.Visitor.Symbol
327   default-language: Haskell2010
328   ghc-options:      -W -Wall
329   hs-source-dirs:   tests
330                 ,   lib
331   main-is:          Tasty.hs
332   type:             exitcode-stdio-1.0