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