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