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