]> git.wincent.com - docvim.git/blob - docvim.cabal
Add loupe files to integration tests
[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.1.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.3.1.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
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.Optimize
101                  ,  Text.Docvim.Options
102                  ,  Text.Docvim.Parse
103                  ,  Text.Docvim.Printer.Markdown
104                  ,  Text.Docvim.Printer.Vim
105                  ,  Text.Docvim.ReadDir
106                  ,  Text.Docvim.Util
107                  ,  Text.Docvim.Visitor
108                  ,  Text.Docvim.Visitor.Command
109                  ,  Text.Docvim.Visitor.Commands
110                  ,  Text.Docvim.Visitor.Footer
111                  ,  Text.Docvim.Visitor.Function
112                  ,  Text.Docvim.Visitor.Functions
113                  ,  Text.Docvim.Visitor.Heading
114                  ,  Text.Docvim.Visitor.Mapping
115                  ,  Text.Docvim.Visitor.Mappings
116                  ,  Text.Docvim.Visitor.Option
117                  ,  Text.Docvim.Visitor.Options
118                  ,  Text.Docvim.Visitor.Plugin
119                  ,  Text.Docvim.Visitor.Section
120                  ,  Text.Docvim.Visitor.Symbol
121   other-modules:    Paths_docvim
122   ghc-options:      -W -Wall
123   hs-source-dirs:   lib
124
125 test-suite hlint
126   build-depends:    base
127                ,    hlint
128   default-language: Haskell2010
129   ghc-options:      -W -Wall
130   hs-source-dirs:   tests
131   main-is:          HLint.hs
132   type:             exitcode-stdio-1.0
133
134 test-suite tasty
135   build-depends:    base >= 4 && < 5
136                ,    bytestring
137                ,    containers
138                ,    deepseq
139                ,    directory
140                ,    dlist
141                ,    docvim
142                ,    filepath
143                ,    lens
144                ,    mtl
145                ,    parsec
146                ,    pretty-show
147                ,    process
148                ,    split
149                ,    tasty
150                ,    tasty-golden
151                ,    tasty-hunit
152                ,    temporary
153   other-modules:     Text.Docvim.AST
154                ,     Text.Docvim.Compile
155                ,     Text.Docvim.Optimize
156                ,     Text.Docvim.Parse
157                ,     Text.Docvim.Printer.Markdown
158                ,     Text.Docvim.Printer.Vim
159                ,     Text.Docvim.Util
160                ,     Text.Docvim.Visitor
161                ,     Text.Docvim.Visitor.Command
162                ,     Text.Docvim.Visitor.Commands
163                ,     Text.Docvim.Visitor.Footer
164                ,     Text.Docvim.Visitor.Function
165                ,     Text.Docvim.Visitor.Functions
166                ,     Text.Docvim.Visitor.Heading
167                ,     Text.Docvim.Visitor.Mapping
168                ,     Text.Docvim.Visitor.Mappings
169                ,     Text.Docvim.Visitor.Option
170                ,     Text.Docvim.Visitor.Options
171                ,     Text.Docvim.Visitor.Plugin
172                ,     Text.Docvim.Visitor.Section
173                ,     Text.Docvim.Visitor.Symbol
174   default-language: Haskell2010
175   ghc-options:      -W -Wall
176   hs-source-dirs:   tests
177                 ,   lib
178   main-is:          Tasty.hs
179   type:             exitcode-stdio-1.0