]> Git — Sourcephile - doclang.git/blob - hdoc.cabal
Update to megaparsec-7 and new symantic-xml
[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 data-files:
25 style/dtc-errors.css
26 style/dtc-errors.js
27 style/dtc-html5.css
28 style/dtc-html5.js
29 style/dtc-index.css
30 style/dtc-judgment.css
31 style/dtc-table.css
32 style/tct-html5.css
33 extra-source-files:
34 stack.yaml
35 extra-tmp-files:
36
37 Source-Repository head
38 location: git://git.autogeree.net/hdoc
39 type: git
40
41 Flag debug
42 Default: False
43 Description: Turn on debugging settings.
44 Manual: True
45
46 Flag prof
47 Default: False
48 Description: Turn on profiling settings.
49 Manual: True
50
51 Library
52 exposed-modules:
53 Control.Monad.Utils
54 Hdoc.DTC.Analyze.Collect
55 Hdoc.DTC.Analyze.Index
56 Hdoc.DTC.Analyze.Check
57 Hdoc.DTC.Document
58 Hdoc.DTC.Read.TCT
59 Hdoc.DTC.Sym
60 Hdoc.DTC.Write.HTML5.Ident
61 Hdoc.DTC.Write.HTML5.Base
62 Hdoc.DTC.Write.HTML5.Judgment
63 Hdoc.DTC.Write.HTML5.Error
64 Hdoc.DTC.Write.HTML5
65 Hdoc.DTC.Write.Plain
66 Hdoc.DTC.Write.XML
67 Hdoc.RNC
68 Hdoc.TCT
69 Hdoc.TCT.Cell
70 Hdoc.TCT.Debug
71 Hdoc.TCT.Elem
72 Hdoc.TCT.Read
73 Hdoc.TCT.Read.Cell
74 Hdoc.TCT.Read.Elem
75 Hdoc.TCT.Read.Token
76 Hdoc.TCT.Read.Tree
77 Hdoc.TCT.Tree
78 Hdoc.TCT.Utils
79 Hdoc.TCT.Write.HTML5
80 Hdoc.TCT.Write.Plain
81 Hdoc.TCT.Write.XML
82 Hdoc.Utils
83 Hdoc.XML
84 Text.Blaze.DTC
85 Text.Blaze.DTC.Attributes
86 Text.Blaze.HTML5
87 Text.Blaze.Utils
88 Text.Blaze.XML
89 other-modules:
90 Paths_hdoc
91 default-language: Haskell2010
92 default-extensions:
93 LambdaCase
94 NamedFieldPuns
95 NoImplicitPrelude
96 RecordWildCards
97 TupleSections
98 ghc-options:
99 -Wall
100 -Wincomplete-uni-patterns
101 -Wincomplete-record-updates
102 -fno-warn-tabs
103 -fhide-source-paths
104 if flag(debug)
105 cpp-options: -DDEBUG
106 if flag(prof)
107 cpp-options: -DPROFILING
108 ghc-options: -fprof-auto
109 build-depends:
110 base >= 4.10 && < 5
111 , blaze-builder >= 0.4
112 , blaze-html >= 0.9
113 , blaze-markup >= 0.8
114 , bytestring >= 0.10
115 , containers >= 0.5
116 , data-default-class >= 0.1
117 , data-default-instances-containers >= 0.0
118 , directory >= 1.3
119 , filepath >= 1.4
120 , hashable >= 1.2.6
121 , hjugement >= 0.0
122 , hxt-charproperties >= 9.2
123 , localization >= 1.0.1
124 , symantic-cli >= 0.0.0
125 , symantic-xml >= 0.0.0
126 , megaparsec >= 7.0.4
127 , mono-traversable >= 1.0
128 , parser-combinators >= 1.0
129 , safe >= 0.3
130 , strict >= 0.3
131 -- , svg-builder >= 0.1
132 , text >= 1.2
133 -- , text-format >= 0.3
134 , transformers >= 0.5
135 , treemap >= 2.3
136 , treeseq >= 1.0
137 , unordered-containers >= 0.2.8
138
139 Executable hdoc
140 hs-source-dirs: exe/cli
141 main-is: Main.hs
142 other-modules:
143 Paths_hdoc
144 default-language: Haskell2010
145 default-extensions:
146 ConstraintKinds
147 DataKinds
148 DefaultSignatures
149 EmptyDataDecls
150 FlexibleContexts
151 FlexibleInstances
152 LambdaCase
153 MultiParamTypeClasses
154 NamedFieldPuns
155 NoImplicitPrelude
156 PatternGuards
157 PolyKinds
158 Rank2Types
159 RecordWildCards
160 ScopedTypeVariables
161 StandaloneDeriving
162 TupleSections
163 TypeApplications
164 TypeOperators
165 ghc-options:
166 -Wall
167 -Wincomplete-uni-patterns
168 -Wincomplete-record-updates
169 -fno-warn-tabs
170 -fhide-source-paths
171 if flag(debug)
172 cpp-options: -DDEBUG
173 if flag(prof)
174 cpp-options: -DPROFILING
175 ghc-options: -fprof-auto -rtsopts
176 build-depends:
177 hdoc
178 , ansi-terminal >= 0.4
179 , base >= 4.6 && < 5
180 , blaze-html >= 0.9
181 , blaze-markup >= 0.8
182 , bytestring >= 0.10
183 , containers >= 0.5
184 , data-default-class >= 0.1
185 , Decimal >= 0.4
186 , deepseq >= 1.4
187 , directory >= 1.3
188 , filepath >= 1.4
189 , hashable >= 1.2.6
190 , localization >= 1.0.1
191 , megaparsec >= 6.3
192 , monad-classes >= 0.3.2.2
193 -- , reflection >= 2.1.3
194 , peano >= 0.1
195 , safe >= 0.3
196 , semigroups >= 0.18
197 , symantic-document >= 0.1
198 , symantic-cli >= 0.0
199 , symantic-xml >= 0.0
200 , strict >= 0.3
201 , text >= 1.2
202 , time >= 1.8
203 , transformers >= 0.4
204 , treeseq >= 1.0
205 , unordered-containers >= 0.2.8
206 -- , mono-traversable
207 -- , safe >= 0.2
208 -- , safe-exceptions >= 0.1
209 -- , treemap
210
211 --Test-Suite hdoc-test
212 -- type: exitcode-stdio-1.0
213 -- hs-source-dirs: test
214 -- main-is: Main.hs
215 -- other-modules:
216 -- Golden
217 -- -- HUnit
218 -- -- QuickCheck
219 -- default-language: Haskell2010
220 -- default-extensions:
221 -- LambdaCase
222 -- NamedFieldPuns
223 -- NoImplicitPrelude
224 -- RecordWildCards
225 -- ViewPatterns
226 -- ghc-options:
227 -- -Wall
228 -- -Wincomplete-uni-patterns
229 -- -Wincomplete-record-updates
230 -- -fno-warn-tabs
231 -- -fhide-source-paths
232 -- build-depends:
233 -- hdoc
234 -- , base >= 4.10 && < 5
235 -- , blaze-html >= 0.9
236 -- , blaze-markup >= 0.8
237 -- , bytestring >= 0.10
238 -- , containers >= 0.5
239 -- , deepseq >= 1.4
240 -- , filepath >= 1.4
241 -- , localization >= 1.0.1
242 -- , megaparsec >= 6.3
243 -- , tasty >= 0.11
244 -- , tasty-golden >= 2.3
245 -- , text >= 1.2
246 -- , transformers >= 0.4
247 -- , treeseq >= 1.0
248 -- -- , QuickCheck >= 2.0
249 -- -- , tasty-hunit
250 -- -- , tasty-quickcheck