]> Git — Sourcephile - doclang.git/blob - hdoc.cabal
Add better support for HeaderDotSlash including.
[doclang.git] / hdoc.cabal
1 name: hdoc
2 -- PVP: +-+------- breaking API changes
3 -- | | +----- non-breaking API additions
4 -- | | | +--- code changes with no API change
5 version: 0.0.0.20180213
6 category: Language
7 synopsis: Library and tools for technical and convivial documents
8 stability: experimental
9 description: Handle documents in:
10 .
11 * Texte Convivial Technique (TCT)
12 * Document Technique Convivial (DTC)
13 extra-doc-files:
14 license: GPL-3
15 license-file: COPYING
16 author: Julien Moutinho <julm+hdoc@autogeree.net>
17 maintainer: Julien Moutinho <julm+hdoc@autogeree.net>
18 bug-reports: Julien Moutinho <julm+hdoc@autogeree.net>
19 -- homepage:
20
21 build-type: Simple
22 cabal-version: >= 1.18
23 tested-with: GHC==8.2.2
24 extra-source-files:
25 stack.yaml
26 extra-tmp-files:
27
28 Source-Repository head
29 location: git://git.autogeree.net/hdoc
30 type: git
31
32 Flag debug
33 Default: False
34 Description: Turn on debugging settings.
35 Manual: True
36
37 Flag prof
38 Default: False
39 Description: Turn on profiling settings.
40 Manual: True
41
42 Library
43 exposed-modules:
44 Language.DTC.Document
45 Language.DTC.Anchor
46 Language.DTC.Read.TCT
47 Language.DTC.Sym
48 Language.DTC.Write.HTML5
49 Language.DTC.Write.Plain
50 Language.DTC.Write.XML
51 Language.RNC.Fixity
52 Language.RNC.Sym
53 Language.RNC.Write
54 Language.TCT
55 Language.TCT.Cell
56 Language.TCT.Elem
57 Language.TCT.Read
58 Language.TCT.Read.Cell
59 Language.TCT.Read.Elem
60 Language.TCT.Read.Token
61 Language.TCT.Read.Tree
62 Language.TCT.Tree
63 Language.TCT.Debug
64 Language.TCT.Write.HTML5
65 Language.TCT.Write.Plain
66 Language.TCT.Write.XML
67 Language.TCT.Utils
68 Language.XML
69 Text.Blaze.DTC
70 Text.Blaze.DTC.Attributes
71 Text.Blaze.HTML5
72 Text.Blaze.Utils
73 Text.Blaze.XML
74 default-language: Haskell2010
75 default-extensions:
76 LambdaCase
77 NamedFieldPuns
78 NoImplicitPrelude
79 RecordWildCards
80 TupleSections
81 ghc-options:
82 -Wall
83 -Wincomplete-uni-patterns
84 -Wincomplete-record-updates
85 -fno-warn-tabs
86 -fhide-source-paths
87 if flag(debug)
88 cpp-options: -DDEBUG
89 if flag(prof)
90 cpp-options: -DPROFILING
91 ghc-options: -fprof-auto
92 build-depends:
93 base >= 4.10 && < 5
94 , blaze-builder >= 0.4
95 , blaze-html >= 0.9
96 , blaze-markup >= 0.8
97 , bytestring >= 0.10
98 , containers >= 0.5
99 , data-default-class >= 0.1
100 , data-default-instances-containers >= 0.0
101 , directory >= 1.3
102 , filepath >= 1.4
103 , localization >= 1.0
104 , megaparsec >= 6.2
105 -- , mono-traversable >= 1.0
106 , strict >= 0.3
107 , text >= 1.2
108 -- , text-format >= 0.3
109 , transformers >= 0.5
110 , treemap >= 2.3
111 , treeseq >= 1.0
112
113 Executable hdoc
114 hs-source-dirs: exe/cli
115 main-is: Main.hs
116 other-modules:
117 default-language: Haskell2010
118 default-extensions:
119 ConstraintKinds
120 DataKinds
121 DefaultSignatures
122 EmptyDataDecls
123 FlexibleContexts
124 FlexibleInstances
125 LambdaCase
126 MultiParamTypeClasses
127 NamedFieldPuns
128 NoImplicitPrelude
129 PatternGuards
130 PolyKinds
131 Rank2Types
132 RecordWildCards
133 ScopedTypeVariables
134 StandaloneDeriving
135 TupleSections
136 TypeApplications
137 TypeOperators
138 ghc-options:
139 -Wall
140 -Wincomplete-uni-patterns
141 -Wincomplete-record-updates
142 -fno-warn-tabs
143 -fhide-source-paths
144 if flag(debug)
145 cpp-options: -DDEBUG
146 if flag(prof)
147 cpp-options: -DPROFILING
148 ghc-options: -fprof-auto -rtsopts
149 build-depends:
150 hdoc
151 , ansi-terminal >= 0.4
152 , base >= 4.6 && < 5
153 , blaze-html >= 0.9
154 , blaze-markup >= 0.8
155 , bytestring >= 0.10
156 , containers >= 0.5
157 , data-default-class >= 0.1
158 , Decimal >= 0.4
159 , deepseq >= 1.4
160 , localization >= 1.0
161 , megaparsec >= 6.3
162 , optparse-applicative >= 0.14
163 , semigroups >= 0.18
164 , strict >= 0.3
165 , text >= 1.2
166 , time >= 1.8
167 , transformers >= 0.4
168 , treeseq >= 1.0
169 -- , directory
170 -- , monad-classes
171 -- , mono-traversable
172 -- , safe >= 0.2
173 -- , safe-exceptions >= 0.1
174 -- , treemap
175
176 Test-Suite hdoc-test
177 type: exitcode-stdio-1.0
178 hs-source-dirs: test
179 main-is: Main.hs
180 other-modules:
181 Golden
182 -- HUnit
183 -- QuickCheck
184 default-language: Haskell2010
185 default-extensions:
186 LambdaCase
187 NamedFieldPuns
188 NoImplicitPrelude
189 RecordWildCards
190 ViewPatterns
191 ghc-options:
192 -Wall
193 -Wincomplete-uni-patterns
194 -Wincomplete-record-updates
195 -fno-warn-tabs
196 -fhide-source-paths
197 build-depends:
198 hdoc
199 , base >= 4.10 && < 5
200 , blaze-html >= 0.9
201 , blaze-markup >= 0.8
202 , bytestring >= 0.10
203 , containers >= 0.5
204 , deepseq >= 1.4
205 , filepath >= 1.4
206 , localization >= 1.0
207 , megaparsec >= 6.3
208 , tasty >= 0.11
209 , tasty-golden >= 2.3
210 , text >= 1.2
211 , transformers >= 0.4
212 , treeseq >= 1.0
213 -- , QuickCheck >= 2.0
214 -- , tasty-hunit
215 -- , tasty-quickcheck