]> Git — Sourcephile - doclang.git/blob - tct.cabal
Add plain Text rendering (fixup).
[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 Library
24 exposed-modules:
25 Language.DTC
26 Language.TCT
27 Language.TCT.DTC
28 Language.TCT.Elem
29 Language.TCT.HTML5.Source
30 Language.TCT.Read
31 Language.TCT.Read.Elem
32 Language.TCT.Read.Token
33 Language.TCT.Read.Tree
34 Language.TCT.Token
35 Language.TCT.Tree
36 Language.TCT.Text
37 Text.Blaze.DTC
38 Text.Blaze.DTC.Attributes
39 Text.Blaze.Utils
40 default-language: Haskell2010
41 default-extensions:
42 LambdaCase
43 NoImplicitPrelude
44 ViewPatterns
45 ghc-options:
46 -Wall
47 -Wincomplete-uni-patterns
48 -Wincomplete-record-updates
49 -fno-warn-tabs
50 build-depends:
51 base >= 4.6 && < 5
52 , blaze-builder
53 , blaze-html
54 , blaze-markup
55 , bytestring
56 , containers > 0.5
57 , megaparsec >= 5.0
58 , text
59 , text-format
60 , transformers
61 , xml-types
62
63 Test-Suite tct-test
64 type: exitcode-stdio-1.0
65 default-language: Haskell2010
66 default-extensions:
67 NoImplicitPrelude
68 ghc-options:
69 -Wall
70 -Wincomplete-uni-patterns
71 -Wincomplete-record-updates
72 -fno-warn-tabs
73 hs-source-dirs: test
74 main-is: Main.hs
75 other-modules:
76 HUnit
77 -- QuickCheck
78 Types
79 build-depends:
80 base >= 4.6 && < 5
81 , containers >= 0.5 && < 0.6
82 , tct
83 -- , QuickCheck >= 2.0
84 , tasty >= 0.11
85 , tasty-hunit
86 -- , tasty-quickcheck
87 , text
88 , transformers >= 0.4 && < 0.6
89
90 Executable tct-print
91 default-language: Haskell2010
92 default-extensions:
93 ConstraintKinds
94 DataKinds
95 DefaultSignatures
96 EmptyDataDecls
97 FlexibleContexts
98 FlexibleInstances
99 LambdaCase
100 MultiParamTypeClasses
101 NamedFieldPuns
102 NoImplicitPrelude
103 OverloadedStrings
104 PatternGuards
105 PolyKinds
106 Rank2Types
107 ScopedTypeVariables
108 StandaloneDeriving
109 TupleSections
110 TypeApplications
111 TypeFamilies
112 TypeOperators
113 ghc-options:
114 -Wall
115 -Wincomplete-uni-patterns
116 -Wincomplete-record-updates
117 -fno-warn-tabs
118 main-is: Main.hs
119 hs-source-dirs: exe/print
120 other-modules:
121 Read
122 build-depends:
123 base >= 4.6 && < 5
124 , ansi-terminal >= 0.4 && < 0.7
125 , blaze-markup
126 , blaze-html
127 , bytestring
128 , containers >= 0.5 && < 0.6
129 , Decimal
130 , deepseq
131 -- , directory
132 , optparse-applicative
133 , megaparsec
134 -- , monad-classes
135 -- , mono-traversable
136 -- , safe >= 0.2
137 , safe-exceptions
138 , semigroups
139 -- , symantic-document
140 -- , symantic-grammar
141 , strict
142 , tct
143 , text
144 , time
145 , transformers >= 0.4 && < 0.6
146 -- NOTE: needed for Control.Monad.Trans.Except
147 -- , treemap