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