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