]> Git — Sourcephile - doclang.git/blob - hdoc.cabal
Sync HTML5 rendition of DTC with new TCT parsing.
[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 , filepath >= 1.4
102 , localization >= 1.0
103 , megaparsec >= 6.2
104 , mono-traversable >= 1.0
105 , strict >= 0.3
106 , text >= 1.2
107 , text-format >= 0.3
108 , transformers >= 0.5
109 , treemap >= 2.3
110 , treeseq >= 1.0
111
112 Executable hdoc
113 hs-source-dirs: exe/cli
114 main-is: Main.hs
115 other-modules:
116 default-language: Haskell2010
117 default-extensions:
118 ConstraintKinds
119 DataKinds
120 DefaultSignatures
121 EmptyDataDecls
122 FlexibleContexts
123 FlexibleInstances
124 LambdaCase
125 MultiParamTypeClasses
126 NamedFieldPuns
127 NoImplicitPrelude
128 PatternGuards
129 PolyKinds
130 Rank2Types
131 RecordWildCards
132 ScopedTypeVariables
133 StandaloneDeriving
134 TupleSections
135 TypeApplications
136 TypeOperators
137 ghc-options:
138 -Wall
139 -Wincomplete-uni-patterns
140 -Wincomplete-record-updates
141 -fno-warn-tabs
142 -fhide-source-paths
143 if flag(debug)
144 cpp-options: -DDEBUG
145 if flag(prof)
146 cpp-options: -DPROFILING
147 ghc-options: -fprof-auto -rtsopts
148 build-depends:
149 hdoc
150 , ansi-terminal >= 0.4
151 , base >= 4.6 && < 5
152 , blaze-html >= 0.9
153 , blaze-markup >= 0.8
154 , bytestring >= 0.10
155 , containers >= 0.5
156 , data-default-class >= 0.1
157 , Decimal >= 0.4
158 , deepseq >= 1.4
159 , localization >= 1.0
160 , megaparsec >= 6.3
161 , optparse-applicative >= 0.14
162 , semigroups >= 0.18
163 , strict >= 0.3
164 , text >= 1.2
165 , time >= 1.8
166 , transformers >= 0.4
167 , treeseq >= 1.0
168 -- , directory
169 -- , monad-classes
170 -- , mono-traversable
171 -- , safe >= 0.2
172 -- , safe-exceptions >= 0.1
173 -- , treemap
174
175 Test-Suite hdoc-test
176 type: exitcode-stdio-1.0
177 hs-source-dirs: test
178 main-is: Main.hs
179 other-modules:
180 Golden
181 -- HUnit
182 -- QuickCheck
183 default-language: Haskell2010
184 default-extensions:
185 LambdaCase
186 NamedFieldPuns
187 NoImplicitPrelude
188 RecordWildCards
189 ViewPatterns
190 ghc-options:
191 -Wall
192 -Wincomplete-uni-patterns
193 -Wincomplete-record-updates
194 -fno-warn-tabs
195 -fhide-source-paths
196 build-depends:
197 hdoc
198 , base >= 4.10 && < 5
199 , blaze-html >= 0.9
200 , blaze-markup >= 0.8
201 , bytestring >= 0.10
202 , containers >= 0.5
203 , deepseq >= 1.4
204 , filepath >= 1.4
205 , localization >= 1.0
206 , megaparsec >= 6.3
207 , tasty >= 0.11
208 , tasty-golden >= 2.3
209 , text >= 1.2
210 , transformers >= 0.4
211 , treeseq >= 1.0
212 -- , QuickCheck >= 2.0
213 -- , tasty-hunit
214 -- , tasty-quickcheck