]> Git — Sourcephile - doclang.git/blob - hdoc.cabal
Add HTML5 rendition of Head.
[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.Utils
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 , 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