]> Git — Sourcephile - doclang.git/blob - hdoc.cabal
Fix HeaderGreat parsing.
[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.0.2
19 version: 1.0.0.20170828
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.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.6 && < 5
89 , blaze-builder
90 , blaze-html
91 , blaze-markup
92 , bytestring
93 , containers > 0.5
94 , data-default-class >= 0.1.2.0
95 , data-default-instances-containers
96 , filepath
97 , megaparsec >= 6.2
98 , mono-traversable
99 , strict
100 , text
101 , text-format
102 , transformers
103 , treemap
104 -- , xml-types
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 HUnit
125 -- QuickCheck
126 Types
127 build-depends:
128 base >= 4.6 && < 5
129 , containers >= 0.5 && < 0.6
130 , deepseq
131 , hdoc
132 -- , QuickCheck >= 2.0
133 , tasty >= 0.11
134 , tasty-hunit
135 -- , tasty-quickcheck
136 , text
137 , transformers >= 0.4 && < 0.6
138
139 Executable hdoc
140 default-language: Haskell2010
141 default-extensions:
142 ConstraintKinds
143 DataKinds
144 DefaultSignatures
145 EmptyDataDecls
146 FlexibleContexts
147 FlexibleInstances
148 LambdaCase
149 MultiParamTypeClasses
150 NamedFieldPuns
151 NoImplicitPrelude
152 PatternGuards
153 PolyKinds
154 Rank2Types
155 RecordWildCards
156 ScopedTypeVariables
157 StandaloneDeriving
158 TupleSections
159 TypeApplications
160 TypeOperators
161 ghc-options:
162 -Wall
163 -Wincomplete-uni-patterns
164 -Wincomplete-record-updates
165 -fno-warn-tabs
166 -- -fhide-source-paths
167 if flag(debug)
168 cpp-options: -DDEBUG
169 if flag(prof)
170 cpp-options: -DPROFILING
171 ghc-options: -fprof-auto -rtsopts
172 main-is: Main.hs
173 hs-source-dirs: exe/cli
174 other-modules:
175 Read
176 build-depends:
177 base >= 4.6 && < 5
178 , ansi-terminal >= 0.4 && < 0.7
179 , blaze-markup
180 , blaze-html
181 , bytestring
182 , containers >= 0.5 && < 0.6
183 , Decimal
184 , data-default-class
185 , deepseq
186 -- , directory
187 , optparse-applicative
188 , megaparsec
189 -- , monad-classes
190 -- , mono-traversable
191 -- , safe >= 0.2
192 , safe-exceptions
193 , semigroups
194 , strict
195 , hdoc
196 , text
197 , time
198 , transformers >= 0.4 && < 0.6
199 -- NOTE: needed for Control.Monad.Trans.Except
200 -- , treemap