]> Git — Sourcephile - doclang.git/blob - hdoc.cabal
Move Data.Locale and Data.TreeSeq in new packages.
[doclang.git] / hdoc.cabal
1 author: Julien Moutinho <julm+hdoc@autogeree.net>
2 bug-reports: Julien Moutinho <julm+hdoc@autogeree.net>
3 build-type: Simple
4 cabal-version: >= 1.18
5 category: Language
6 description:
7 Handle documents in:
8 - Texte Convivial Technique (TCT)
9 - Document Technique Convivial (DTC)
10 extra-source-files:
11 stack.yaml
12 extra-doc-files:
13 extra-tmp-files:
14 license: GPL-3
15 license-file: COPYING
16 maintainer: Julien Moutinho <julm+hdoc@autogeree.net>
17 name: hdoc
18 stability: experimental
19 synopsis: Library and tools for technical and convivial documents
20 tested-with: GHC==8.2.2
21 version: 1.0.0.20180213
22
23 Source-Repository head
24 location: git://git.autogeree.net/hdoc
25 type: git
26
27 Flag debug
28 Default: False
29 Description: Turn on debugging settings.
30 Manual: True
31
32 Flag prof
33 Default: False
34 Description: Turn on profiling settings.
35 Manual: True
36
37 Library
38 exposed-modules:
39 Language.DTC.Document
40 Language.DTC.Anchor
41 Language.DTC.Read.TCT
42 Language.DTC.Sym
43 Language.DTC.Write.HTML5
44 Language.DTC.Write.Plain
45 Language.DTC.Write.XML
46 Language.RNC.Fixity
47 Language.RNC.Sym
48 Language.RNC.Write
49 Language.TCT
50 Language.TCT.Cell
51 Language.TCT.Elem
52 Language.TCT.Read
53 Language.TCT.Read.Cell
54 Language.TCT.Read.Elem
55 Language.TCT.Read.Token
56 Language.TCT.Read.Tree
57 Language.TCT.Tree
58 Language.TCT.Debug
59 Language.TCT.Write.HTML5
60 Language.TCT.Write.Plain
61 Language.TCT.Write.XML
62 Language.TCT.Utils
63 Language.XML
64 Text.Blaze.DTC
65 Text.Blaze.DTC.Attributes
66 Text.Blaze.HTML5
67 Text.Blaze.Utils
68 Text.Blaze.XML
69 default-language: Haskell2010
70 default-extensions:
71 LambdaCase
72 NamedFieldPuns
73 NoImplicitPrelude
74 RecordWildCards
75 TupleSections
76 ghc-options:
77 -Wall
78 -Wincomplete-uni-patterns
79 -Wincomplete-record-updates
80 -fno-warn-tabs
81 -fhide-source-paths
82 if flag(debug)
83 cpp-options: -DDEBUG
84 if flag(prof)
85 cpp-options: -DPROFILING
86 ghc-options: -fprof-auto
87 build-depends:
88 base >= 4.10 && < 5
89 , blaze-builder >= 0.4
90 , blaze-html >= 0.9
91 , blaze-markup >= 0.8
92 , bytestring >= 0.10
93 , containers >= 0.5
94 , data-default-class >= 0.1
95 , data-default-instances-containers >= 0.0
96 , filepath >= 1.4
97 , locale >= 1.0
98 , megaparsec >= 6.2
99 , mono-traversable >= 1.0
100 , strict >= 0.3
101 , text >= 1.2
102 , text-format >= 0.3
103 , transformers >= 0.5
104 , treemap >= 2.3
105 , treeseq >= 1.0
106
107 Test-Suite hdoc-test
108 type: exitcode-stdio-1.0
109 default-language: Haskell2010
110 default-extensions:
111 LambdaCase
112 NamedFieldPuns
113 NoImplicitPrelude
114 RecordWildCards
115 ViewPatterns
116 ghc-options:
117 -Wall
118 -Wincomplete-uni-patterns
119 -Wincomplete-record-updates
120 -fno-warn-tabs
121 -fhide-source-paths
122 hs-source-dirs: test
123 main-is: Main.hs
124 other-modules:
125 Golden
126 -- HUnit
127 -- QuickCheck
128 build-depends:
129 hdoc
130 , base >= 4.10 && < 5
131 , blaze-html >= 0.9
132 , blaze-markup >= 0.8
133 , bytestring >= 0.10
134 , containers >= 0.5
135 , deepseq >= 1.4
136 , filepath >= 1.4
137 , locale >= 1.0
138 , megaparsec >= 6.3
139 , tasty >= 0.11
140 , tasty-golden >= 2.3
141 , text >= 1.2
142 , transformers >= 0.4
143 , treeseq >= 1.0
144 -- , QuickCheck >= 2.0
145 -- , tasty-hunit
146 -- , tasty-quickcheck
147
148 Executable hdoc
149 default-language: Haskell2010
150 default-extensions:
151 ConstraintKinds
152 DataKinds
153 DefaultSignatures
154 EmptyDataDecls
155 FlexibleContexts
156 FlexibleInstances
157 LambdaCase
158 MultiParamTypeClasses
159 NamedFieldPuns
160 NoImplicitPrelude
161 PatternGuards
162 PolyKinds
163 Rank2Types
164 RecordWildCards
165 ScopedTypeVariables
166 StandaloneDeriving
167 TupleSections
168 TypeApplications
169 TypeOperators
170 ghc-options:
171 -Wall
172 -Wincomplete-uni-patterns
173 -Wincomplete-record-updates
174 -fno-warn-tabs
175 -fhide-source-paths
176 if flag(debug)
177 cpp-options: -DDEBUG
178 if flag(prof)
179 cpp-options: -DPROFILING
180 ghc-options: -fprof-auto -rtsopts
181 main-is: Main.hs
182 hs-source-dirs: exe/cli
183 other-modules:
184 build-depends:
185 hdoc
186 , ansi-terminal >= 0.4
187 , base >= 4.6 && < 5
188 , blaze-html >= 0.9
189 , blaze-markup >= 0.8
190 , bytestring >= 0.10
191 , containers >= 0.5
192 , data-default-class >= 0.1
193 , Decimal >= 0.4
194 , deepseq >= 1.4
195 , locale >= 1.0
196 , megaparsec >= 6.3
197 , optparse-applicative >= 0.14
198 -- , safe-exceptions >= 0.1
199 , strict >= 0.3
200 , text >= 1.2
201 , time >= 1.8
202 , transformers >= 0.4
203 , treeseq >= 1.0
204 , semigroups >= 0.18
205 -- , directory
206 -- , monad-classes
207 -- , mono-traversable
208 -- , safe >= 0.2
209 -- NOTE: needed for Control.Monad.Trans.Except
210 -- , treemap