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