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