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