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