]> Git — Sourcephile - doclang.git/blob - hdoc.cabal
Add multi-words indexing.
[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.Index
37 Language.DTC.Read.TCT
38 Language.DTC.Sym
39 Language.DTC.Write.HTML5
40 Language.DTC.Write.XML
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.Utils
62 Text.Blaze.XML
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 , mono-traversable
89 , strict
90 , text
91 , text-format
92 , transformers
93 , treemap
94 -- , xml-types
95
96 Test-Suite hdoc-test
97 type: exitcode-stdio-1.0
98 default-language: Haskell2010
99 default-extensions:
100 LambdaCase
101 NamedFieldPuns
102 NoImplicitPrelude
103 RecordWildCards
104 ViewPatterns
105 ghc-options:
106 -Wall
107 -Wincomplete-uni-patterns
108 -Wincomplete-record-updates
109 -fno-warn-tabs
110 hs-source-dirs: test
111 main-is: Main.hs
112 other-modules:
113 HUnit
114 -- QuickCheck
115 Types
116 build-depends:
117 base >= 4.6 && < 5
118 , containers >= 0.5 && < 0.6
119 , deepseq
120 , hdoc
121 -- , QuickCheck >= 2.0
122 , tasty >= 0.11
123 , tasty-hunit
124 -- , tasty-quickcheck
125 , text
126 , transformers >= 0.4 && < 0.6
127
128 Executable hdoc
129 default-language: Haskell2010
130 default-extensions:
131 ConstraintKinds
132 DataKinds
133 DefaultSignatures
134 EmptyDataDecls
135 FlexibleContexts
136 FlexibleInstances
137 LambdaCase
138 MultiParamTypeClasses
139 NamedFieldPuns
140 NoImplicitPrelude
141 OverloadedStrings
142 PatternGuards
143 PolyKinds
144 Rank2Types
145 RecordWildCards
146 ScopedTypeVariables
147 StandaloneDeriving
148 TupleSections
149 TypeApplications
150 TypeFamilies
151 TypeOperators
152 ghc-options:
153 -Wall
154 -Wincomplete-uni-patterns
155 -Wincomplete-record-updates
156 -fno-warn-tabs
157 if flag(prof)
158 cpp-options: -DPROFILING
159 ghc-options: -fprof-auto -rtsopts
160 main-is: Main.hs
161 hs-source-dirs: exe/cli
162 other-modules:
163 Read
164 build-depends:
165 base >= 4.6 && < 5
166 , ansi-terminal >= 0.4 && < 0.7
167 , blaze-markup
168 , blaze-html
169 , bytestring
170 , containers >= 0.5 && < 0.6
171 , Decimal
172 , deepseq
173 -- , directory
174 , optparse-applicative
175 , megaparsec
176 -- , monad-classes
177 -- , mono-traversable
178 -- , safe >= 0.2
179 , safe-exceptions
180 , semigroups
181 -- , symantic-document
182 -- , symantic-grammar
183 , strict
184 , hdoc
185 , text
186 , time
187 , transformers >= 0.4 && < 0.6
188 -- NOTE: needed for Control.Monad.Trans.Except
189 -- , treemap