]> Git — Sourcephile - doclang.git/blob - hdoc.cabal
Fix HTML5 rendering of NodePara.
[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: 1.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 GNUmakefile
26 stack.yaml
27 extra-tmp-files:
28
29 Source-Repository head
30 location: git://git.autogeree.net/hdoc
31 type: git
32
33 Flag debug
34 Default: False
35 Description: Turn on debugging settings.
36 Manual: True
37
38 Flag prof
39 Default: False
40 Description: Turn on profiling settings.
41 Manual: True
42
43 Library
44 exposed-modules:
45 Language.DTC.Document
46 Language.DTC.Anchor
47 Language.DTC.Read.TCT
48 Language.DTC.Sym
49 Language.DTC.Write.HTML5
50 Language.DTC.Write.Plain
51 Language.DTC.Write.XML
52 Language.RNC.Fixity
53 Language.RNC.Sym
54 Language.RNC.Write
55 Language.TCT
56 Language.TCT.Cell
57 Language.TCT.Elem
58 Language.TCT.Read
59 Language.TCT.Read.Cell
60 Language.TCT.Read.Elem
61 Language.TCT.Read.Token
62 Language.TCT.Read.Tree
63 Language.TCT.Tree
64 Language.TCT.Debug
65 Language.TCT.Write.HTML5
66 Language.TCT.Write.Plain
67 Language.TCT.Write.XML
68 Language.TCT.Utils
69 Language.XML
70 Text.Blaze.DTC
71 Text.Blaze.DTC.Attributes
72 Text.Blaze.HTML5
73 Text.Blaze.Utils
74 Text.Blaze.XML
75 default-language: Haskell2010
76 default-extensions:
77 LambdaCase
78 NamedFieldPuns
79 NoImplicitPrelude
80 RecordWildCards
81 TupleSections
82 ghc-options:
83 -Wall
84 -Wincomplete-uni-patterns
85 -Wincomplete-record-updates
86 -fno-warn-tabs
87 -fhide-source-paths
88 if flag(debug)
89 cpp-options: -DDEBUG
90 if flag(prof)
91 cpp-options: -DPROFILING
92 ghc-options: -fprof-auto
93 build-depends:
94 base >= 4.10 && < 5
95 , blaze-builder >= 0.4
96 , blaze-html >= 0.9
97 , blaze-markup >= 0.8
98 , bytestring >= 0.10
99 , containers >= 0.5
100 , data-default-class >= 0.1
101 , data-default-instances-containers >= 0.0
102 , filepath >= 1.4
103 , locale >= 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 Test-Suite hdoc-test
114 type: exitcode-stdio-1.0
115 hs-source-dirs: test
116 main-is: Main.hs
117 other-modules:
118 Golden
119 -- HUnit
120 -- QuickCheck
121 default-language: Haskell2010
122 default-extensions:
123 LambdaCase
124 NamedFieldPuns
125 NoImplicitPrelude
126 RecordWildCards
127 ViewPatterns
128 ghc-options:
129 -Wall
130 -Wincomplete-uni-patterns
131 -Wincomplete-record-updates
132 -fno-warn-tabs
133 -fhide-source-paths
134 build-depends:
135 hdoc
136 , base >= 4.10 && < 5
137 , blaze-html >= 0.9
138 , blaze-markup >= 0.8
139 , bytestring >= 0.10
140 , containers >= 0.5
141 , deepseq >= 1.4
142 , filepath >= 1.4
143 , locale >= 1.0
144 , megaparsec >= 6.3
145 , tasty >= 0.11
146 , tasty-golden >= 2.3
147 , text >= 1.2
148 , transformers >= 0.4
149 , treeseq >= 1.0
150 -- , QuickCheck >= 2.0
151 -- , tasty-hunit
152 -- , tasty-quickcheck
153
154 Executable hdoc
155 hs-source-dirs: exe/cli
156 main-is: Main.hs
157 other-modules:
158 default-language: Haskell2010
159 default-extensions:
160 ConstraintKinds
161 DataKinds
162 DefaultSignatures
163 EmptyDataDecls
164 FlexibleContexts
165 FlexibleInstances
166 LambdaCase
167 MultiParamTypeClasses
168 NamedFieldPuns
169 NoImplicitPrelude
170 PatternGuards
171 PolyKinds
172 Rank2Types
173 RecordWildCards
174 ScopedTypeVariables
175 StandaloneDeriving
176 TupleSections
177 TypeApplications
178 TypeOperators
179 ghc-options:
180 -Wall
181 -Wincomplete-uni-patterns
182 -Wincomplete-record-updates
183 -fno-warn-tabs
184 -fhide-source-paths
185 if flag(debug)
186 cpp-options: -DDEBUG
187 if flag(prof)
188 cpp-options: -DPROFILING
189 ghc-options: -fprof-auto -rtsopts
190 build-depends:
191 hdoc
192 , ansi-terminal >= 0.4
193 , base >= 4.6 && < 5
194 , blaze-html >= 0.9
195 , blaze-markup >= 0.8
196 , bytestring >= 0.10
197 , containers >= 0.5
198 , data-default-class >= 0.1
199 , Decimal >= 0.4
200 , deepseq >= 1.4
201 , locale >= 1.0
202 , megaparsec >= 6.3
203 , optparse-applicative >= 0.14
204 , semigroups >= 0.18
205 , strict >= 0.3
206 , text >= 1.2
207 , time >= 1.8
208 , transformers >= 0.4
209 , treeseq >= 1.0
210 -- , directory
211 -- , monad-classes
212 -- , mono-traversable
213 -- , safe >= 0.2
214 -- , safe-exceptions >= 0.1
215 -- , treemap