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