]> Git — Sourcephile - doclang.git/blob - tct.cabal
Fix <figure/> and <section/>.
[doclang.git] / tct.cabal
1 author: Julien Moutinho <julm+tct@autogeree.net>
2 build-type: Simple
3 cabal-version: >= 1.18
4 category: Language
5 description:
6 A library to handle TCT (Tree Cell Text, aka. Texte Convivial Technique).
7 extra-source-files:
8 extra-doc-files:
9 extra-tmp-files:
10 license: GPL-3
11 license-file: COPYING
12 maintainer: Julien Moutinho <julm+tct@autogeree.net>
13 name: tct
14 stability: experimental
15 synopsis: Library for TCT (Tree Cell Text, aka. Texte Convivial Technique)
16 tested-with: GHC==8.0.2
17 version: 1.0.0.20170828
18
19 Source-Repository head
20 location: git://git.autogeree.net/tct
21 type: git
22
23 Flag prof
24 Default: False
25 Description: Turn on profiling settings.
26 Manual: True
27
28 Library
29 exposed-modules:
30 Data.TreeSeq.Strict
31 Data.TreeSeq.Strict.Zipper
32 Language.DTC
33 Language.DTC.Document
34 Language.DTC.Read.TCT
35 Language.DTC.Sym
36 Language.DTC.Write.XML
37 Language.RNC.Fixity
38 Language.RNC.Sym
39 Language.RNC.Write
40 Language.TCT
41 Language.TCT.Cell
42 Language.TCT.Elem
43 Language.TCT.Read
44 Language.TCT.Read.Cell
45 Language.TCT.Read.Elem
46 Language.TCT.Read.Token
47 Language.TCT.Read.Tree
48 Language.TCT.Token
49 Language.TCT.Tree
50 Language.TCT.Write.HTML5.Source
51 Language.TCT.Write.Text
52 Language.TCT.Write.XML
53 Text.Blaze.DTC
54 Text.Blaze.DTC.Attributes
55 Text.Blaze.Utils
56 default-language: Haskell2010
57 default-extensions:
58 LambdaCase
59 NoImplicitPrelude
60 ViewPatterns
61 ghc-options:
62 -Wall
63 -Wincomplete-uni-patterns
64 -Wincomplete-record-updates
65 -fno-warn-tabs
66 if flag(prof)
67 cpp-options: -DPROFILING
68 ghc-options: -fprof-auto
69 build-depends:
70 base >= 4.6 && < 5
71 , blaze-builder
72 , blaze-html
73 , blaze-markup
74 , bytestring
75 , containers > 0.5
76 , filepath
77 , megaparsec >= 6.2
78 , text
79 , text-format
80 , transformers
81 -- , xml-types
82
83 Test-Suite tct-test
84 type: exitcode-stdio-1.0
85 default-language: Haskell2010
86 default-extensions:
87 NoImplicitPrelude
88 ghc-options:
89 -Wall
90 -Wincomplete-uni-patterns
91 -Wincomplete-record-updates
92 -fno-warn-tabs
93 hs-source-dirs: test
94 main-is: Main.hs
95 other-modules:
96 HUnit
97 -- QuickCheck
98 Types
99 build-depends:
100 base >= 4.6 && < 5
101 , containers >= 0.5 && < 0.6
102 , deepseq
103 , tct
104 -- , QuickCheck >= 2.0
105 , tasty >= 0.11
106 , tasty-hunit
107 -- , tasty-quickcheck
108 , text
109 , transformers >= 0.4 && < 0.6
110
111 Executable tct-print
112 default-language: Haskell2010
113 default-extensions:
114 ConstraintKinds
115 DataKinds
116 DefaultSignatures
117 EmptyDataDecls
118 FlexibleContexts
119 FlexibleInstances
120 LambdaCase
121 MultiParamTypeClasses
122 NamedFieldPuns
123 NoImplicitPrelude
124 OverloadedStrings
125 PatternGuards
126 PolyKinds
127 Rank2Types
128 ScopedTypeVariables
129 StandaloneDeriving
130 TupleSections
131 TypeApplications
132 TypeFamilies
133 TypeOperators
134 ghc-options:
135 -Wall
136 -Wincomplete-uni-patterns
137 -Wincomplete-record-updates
138 -fno-warn-tabs
139 if flag(prof)
140 cpp-options: -DPROFILING
141 ghc-options: -fprof-auto -rtsopts
142 main-is: Main.hs
143 hs-source-dirs: exe/print
144 other-modules:
145 Read
146 build-depends:
147 base >= 4.6 && < 5
148 , ansi-terminal >= 0.4 && < 0.7
149 , blaze-markup
150 , blaze-html
151 , bytestring
152 , containers >= 0.5 && < 0.6
153 , Decimal
154 , deepseq
155 -- , directory
156 , optparse-applicative
157 , megaparsec
158 -- , monad-classes
159 -- , mono-traversable
160 -- , safe >= 0.2
161 , safe-exceptions
162 , semigroups
163 -- , symantic-document
164 -- , symantic-grammar
165 , strict
166 , tct
167 , text
168 , time
169 , transformers >= 0.4 && < 0.6
170 -- NOTE: needed for Control.Monad.Trans.Except
171 -- , treemap