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