]> Git — Sourcephile - doclang.git/blob - hdoc.cabal
Use Loqualization.
[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 , directory >= 1.3
102 , filepath >= 1.4
103 , localization >= 1.0.1
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 , filepath >= 1.4
161 , localization >= 1.0.1
162 , megaparsec >= 6.3
163 , optparse-applicative >= 0.14
164 , semigroups >= 0.18
165 , strict >= 0.3
166 , text >= 1.2
167 , time >= 1.8
168 , transformers >= 0.4
169 , treeseq >= 1.0
170 -- , directory
171 -- , monad-classes
172 -- , mono-traversable
173 -- , safe >= 0.2
174 -- , safe-exceptions >= 0.1
175 -- , treemap
176
177 Test-Suite hdoc-test
178 type: exitcode-stdio-1.0
179 hs-source-dirs: test
180 main-is: Main.hs
181 other-modules:
182 Golden
183 -- HUnit
184 -- QuickCheck
185 default-language: Haskell2010
186 default-extensions:
187 LambdaCase
188 NamedFieldPuns
189 NoImplicitPrelude
190 RecordWildCards
191 ViewPatterns
192 ghc-options:
193 -Wall
194 -Wincomplete-uni-patterns
195 -Wincomplete-record-updates
196 -fno-warn-tabs
197 -fhide-source-paths
198 build-depends:
199 hdoc
200 , base >= 4.10 && < 5
201 , blaze-html >= 0.9
202 , blaze-markup >= 0.8
203 , bytestring >= 0.10
204 , containers >= 0.5
205 , deepseq >= 1.4
206 , filepath >= 1.4
207 , localization >= 1.0.1
208 , megaparsec >= 6.3
209 , tasty >= 0.11
210 , tasty-golden >= 2.3
211 , text >= 1.2
212 , transformers >= 0.4
213 , treeseq >= 1.0
214 -- , QuickCheck >= 2.0
215 -- , tasty-hunit
216 -- , tasty-quickcheck