]> Git — Sourcephile - doclang.git/blob - hdoc.cabal
Add Plainify.
[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 prof
26 Default: False
27 Description: Turn on profiling settings.
28 Manual: True
29
30 Library
31 exposed-modules:
32 Data.Locale
33 Data.TreeSeq.Strict
34 Data.TreeSeq.Strict.Zipper
35 Language.DTC.Document
36 Language.DTC.Anchor
37 Language.DTC.Read.TCT
38 Language.DTC.Sym
39 Language.DTC.Write.HTML5
40 Language.DTC.Write.Plain
41 Language.DTC.Write.XML
42 Language.RNC.Fixity
43 Language.RNC.Sym
44 Language.RNC.Write
45 Language.TCT
46 Language.TCT.Cell
47 Language.TCT.Elem
48 Language.TCT.Read
49 Language.TCT.Read.Cell
50 Language.TCT.Read.Elem
51 Language.TCT.Read.Token
52 Language.TCT.Read.Tree
53 Language.TCT.Token
54 Language.TCT.Tree
55 Language.TCT.Write.HTML5
56 Language.TCT.Write.Plain
57 Language.TCT.Write.XML
58 Language.XML
59 Text.Blaze.DTC
60 Text.Blaze.DTC.Attributes
61 Text.Blaze.HTML5
62 Text.Blaze.Utils
63 Text.Blaze.XML
64 default-language: Haskell2010
65 default-extensions:
66 LambdaCase
67 NamedFieldPuns
68 NoImplicitPrelude
69 RecordWildCards
70 TupleSections
71 ghc-options:
72 -Wall
73 -Wincomplete-uni-patterns
74 -Wincomplete-record-updates
75 -fno-warn-tabs
76 if flag(prof)
77 cpp-options: -DPROFILING
78 ghc-options: -fprof-auto
79 build-depends:
80 base >= 4.6 && < 5
81 , blaze-builder
82 , blaze-html
83 , blaze-markup
84 , bytestring
85 , containers > 0.5
86 , data-default-class >= 0.1.2.0
87 , data-default-instances-containers
88 , filepath
89 , megaparsec >= 6.2
90 , mono-traversable
91 , strict
92 , text
93 , text-format
94 , transformers
95 , treemap
96 -- , xml-types
97
98 Test-Suite hdoc-test
99 type: exitcode-stdio-1.0
100 default-language: Haskell2010
101 default-extensions:
102 LambdaCase
103 NamedFieldPuns
104 NoImplicitPrelude
105 RecordWildCards
106 ViewPatterns
107 ghc-options:
108 -Wall
109 -Wincomplete-uni-patterns
110 -Wincomplete-record-updates
111 -fno-warn-tabs
112 hs-source-dirs: test
113 main-is: Main.hs
114 other-modules:
115 HUnit
116 -- QuickCheck
117 Types
118 build-depends:
119 base >= 4.6 && < 5
120 , containers >= 0.5 && < 0.6
121 , deepseq
122 , hdoc
123 -- , QuickCheck >= 2.0
124 , tasty >= 0.11
125 , tasty-hunit
126 -- , tasty-quickcheck
127 , text
128 , transformers >= 0.4 && < 0.6
129
130 Executable hdoc
131 default-language: Haskell2010
132 default-extensions:
133 ConstraintKinds
134 DataKinds
135 DefaultSignatures
136 EmptyDataDecls
137 FlexibleContexts
138 FlexibleInstances
139 LambdaCase
140 MultiParamTypeClasses
141 NamedFieldPuns
142 NoImplicitPrelude
143 OverloadedStrings
144 PatternGuards
145 PolyKinds
146 Rank2Types
147 RecordWildCards
148 ScopedTypeVariables
149 StandaloneDeriving
150 TupleSections
151 TypeApplications
152 TypeFamilies
153 TypeOperators
154 ghc-options:
155 -Wall
156 -Wincomplete-uni-patterns
157 -Wincomplete-record-updates
158 -fno-warn-tabs
159 if flag(prof)
160 cpp-options: -DPROFILING
161 ghc-options: -fprof-auto -rtsopts
162 main-is: Main.hs
163 hs-source-dirs: exe/cli
164 other-modules:
165 Read
166 build-depends:
167 base >= 4.6 && < 5
168 , ansi-terminal >= 0.4 && < 0.7
169 , blaze-markup
170 , blaze-html
171 , bytestring
172 , containers >= 0.5 && < 0.6
173 , Decimal
174 , data-default-class
175 , deepseq
176 -- , directory
177 , optparse-applicative
178 , megaparsec
179 -- , monad-classes
180 -- , mono-traversable
181 -- , safe >= 0.2
182 , safe-exceptions
183 , semigroups
184 -- , symantic-document
185 -- , symantic-grammar
186 , strict
187 , hdoc
188 , text
189 , time
190 , transformers >= 0.4 && < 0.6
191 -- NOTE: needed for Control.Monad.Trans.Except
192 -- , treemap