]> Git — Sourcephile - doclang.git/blob - textphile.cabal
stack: bump to version lts-15.4
[doclang.git] / textphile.cabal
1 name: textphile
2 -- PVP: +-+------- breaking API changes
3 -- | | +----- non-breaking API additions
4 -- | | | +--- code changes with no API change
5 version: 0.0.0.20200303
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+textphile@sourcephile.fr>
17 maintainer: Julien Moutinho <julm+textphile@sourcephile.fr>
18 bug-reports: Julien Moutinho <julm+textphile@sourcephile.fr>
19 -- homepage:
20
21 build-type: Simple
22 cabal-version: >= 1.18
23 tested-with: GHC==8.6.5
24 data-files:
25 src/style/dtc-errors.css
26 src/style/dtc-errors.js
27 src/style/dtc-html5.css
28 src/style/dtc-html5.js
29 src/style/dtc-index.css
30 src/style/dtc-judgment.css
31 src/style/dtc-table.css
32 src/style/tct-html5.css
33 extra-source-files:
34 stack.yaml
35 extra-tmp-files:
36
37 Source-Repository head
38 location: git://git.sourcephile.fr/textphile
39 type: git
40
41 Flag debug
42 Default: False
43 Description: Turn on debugging settings.
44 Manual: True
45
46 Flag prof
47 Default: False
48 Description: Turn on profiling settings.
49 Manual: True
50
51 Library
52 hs-source-dirs: src
53 exposed-modules:
54 Control.Monad.Utils
55 Textphile.DTC.Analyze.Collect
56 Textphile.DTC.Analyze.Index
57 Textphile.DTC.Analyze.Check
58 Textphile.DTC.Document
59 Textphile.DTC.Read.TCT
60 Textphile.DTC.Sym
61 Textphile.DTC.Write.HTML5.Ident
62 Textphile.DTC.Write.HTML5.Base
63 Textphile.DTC.Write.HTML5.Judgment
64 Textphile.DTC.Write.HTML5.Error
65 Textphile.DTC.Write.HTML5
66 Textphile.DTC.Write.Plain
67 Textphile.DTC.Write.XML
68 Textphile.RNC
69 Textphile.TCT
70 Textphile.TCT.Cell
71 Textphile.TCT.Debug
72 Textphile.TCT.Elem
73 Textphile.TCT.Read
74 Textphile.TCT.Read.Cell
75 Textphile.TCT.Read.Elem
76 Textphile.TCT.Read.Token
77 Textphile.TCT.Read.Tree
78 Textphile.TCT.Tree
79 Textphile.TCT.Utils
80 Textphile.TCT.Write.HTML5
81 Textphile.TCT.Write.Plain
82 Textphile.TCT.Write.XML
83 Textphile.Utils
84 Textphile.XML
85 Text.Blaze.DTC
86 Text.Blaze.DTC.Attributes
87 Text.Blaze.HTML5
88 Text.Blaze.Utils
89 Text.Blaze.XML
90 other-modules:
91 Paths_textphile
92 default-language: Haskell2010
93 default-extensions:
94 LambdaCase
95 NamedFieldPuns
96 NoImplicitPrelude
97 RecordWildCards
98 TupleSections
99 ghc-options:
100 -Wall
101 -Wincomplete-uni-patterns
102 -Wincomplete-record-updates
103 -fno-warn-tabs
104 -fhide-source-paths
105 if flag(debug)
106 cpp-options: -DDEBUG
107 if flag(prof)
108 cpp-options: -DPROFILING
109 ghc-options: -fprof-auto
110 build-depends:
111 base >= 4.10 && < 5
112 , blaze-builder >= 0.4
113 , blaze-html >= 0.9
114 , blaze-markup >= 0.8
115 , bytestring >= 0.10
116 , containers >= 0.5
117 , data-default-class >= 0.1
118 , data-default-instances-containers >= 0.0
119 , directory >= 1.3
120 , filepath >= 1.4
121 , hashable >= 1.2.6
122 , judgmentphile-majority >= 0.0
123 , hxt-charproperties >= 9.2
124 , localization >= 1.0.1
125 , symantic-xml >= 0.0.0
126 , megaparsec >= 8.0
127 , mono-traversable >= 1.0
128 , parser-combinators >= 1.0
129 , safe >= 0.3
130 , strict >= 0.3
131 -- , svg-builder >= 0.1
132 , text >= 1.2
133 -- , text-format >= 0.3
134 , transformers >= 0.5
135 , treemap >= 2.3
136 , treeseq >= 1.0
137 , unordered-containers >= 0.2.8
138
139 Executable textphile
140 hs-source-dirs: cli
141 main-is: Main.hs
142 other-modules:
143 Paths_textphile
144 Textphile.CLI
145 Textphile.CLI.Compile
146 Textphile.CLI.Lang
147 Textphile.CLI.Source
148 Textphile.CLI.Utils
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 NoMonomorphismRestriction
162 PatternGuards
163 PolyKinds
164 Rank2Types
165 RecordWildCards
166 ScopedTypeVariables
167 StandaloneDeriving
168 TupleSections
169 TypeApplications
170 TypeOperators
171 ghc-options:
172 -Wall
173 -Wincomplete-uni-patterns
174 -Wincomplete-record-updates
175 -fno-warn-tabs
176 -fhide-source-paths
177 if flag(debug)
178 cpp-options: -DDEBUG
179 if flag(prof)
180 cpp-options: -DPROFILING
181 ghc-options: -fprof-auto -rtsopts
182 build-depends:
183 textphile
184 , ansi-terminal >= 0.4
185 , base >= 4.6 && < 5
186 , blaze-html >= 0.9
187 , blaze-markup >= 0.8
188 , bytestring >= 0.10
189 , containers >= 0.5
190 , data-default-class >= 0.1
191 , Decimal >= 0.4
192 , deepseq >= 1.4
193 , directory >= 1.3
194 , filepath >= 1.4
195 , hashable >= 1.2.6
196 , localization >= 1.0.1
197 , megaparsec >= 6.3
198 , monad-classes >= 0.3.2.2
199 -- , reflection >= 2.1.3
200 , peano >= 0.1
201 , safe >= 0.3
202 , semigroups >= 0.18
203 , symantic-document >= 0.1
204 , symantic-cli >= 2.4.3
205 , symantic-xml >= 0.0
206 , strict >= 0.3
207 , terminal-size >= 0.3
208 , text >= 1.2
209 , time >= 1.8
210 , transformers >= 0.4
211 , treeseq >= 1.0
212 , unordered-containers >= 0.2.8
213 , unix >= 2.7
214 -- , mono-traversable
215 -- , safe >= 0.2
216 -- , safe-exceptions >= 0.1
217 -- , treemap
218
219 --Test-Suite textphile-test
220 -- type: exitcode-stdio-1.0
221 -- hs-source-dirs: test
222 -- main-is: Main.hs
223 -- other-modules:
224 -- Golden
225 -- -- HUnit
226 -- -- QuickCheck
227 -- default-language: Haskell2010
228 -- default-extensions:
229 -- LambdaCase
230 -- NamedFieldPuns
231 -- NoImplicitPrelude
232 -- RecordWildCards
233 -- ViewPatterns
234 -- ghc-options:
235 -- -Wall
236 -- -Wincomplete-uni-patterns
237 -- -Wincomplete-record-updates
238 -- -fno-warn-tabs
239 -- -fhide-source-paths
240 -- build-depends:
241 -- textphile
242 -- , base >= 4.10 && < 5
243 -- , blaze-html >= 0.9
244 -- , blaze-markup >= 0.8
245 -- , bytestring >= 0.10
246 -- , containers >= 0.5
247 -- , deepseq >= 1.4
248 -- , filepath >= 1.4
249 -- , localization >= 1.0.1
250 -- , megaparsec >= 6.3
251 -- , tasty >= 0.11
252 -- , tasty-golden >= 2.3
253 -- , text >= 1.2
254 -- , transformers >= 0.4
255 -- , treeseq >= 1.0
256 -- -- , QuickCheck >= 2.0
257 -- -- , tasty-hunit
258 -- -- , tasty-quickcheck