-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathterminal.cabal
92 lines (80 loc) · 2.13 KB
/
terminal.cabal
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
name: terminal
category: System, Console, Terminfo, Win32
version: 0.1
license: BSD3
cabal-version: >= 1.10
license-file: LICENSE
author: Edward A. Kmett
maintainer: Edward A. Kmett <[email protected]>
stability: experimental
homepage: http://github.com/ekmett/terminal/
bug-reports: http://github.com/ekmett/terminal/issues
copyright: Copyright (C) 2013 Edward A. Kmett
synopsis: A portable color console
description: A portable color console
build-type: Custom
extra-source-files:
.ghci
.gitignore
.travis.yml
.vim.custom
CHANGELOG.markdown
HLint.hs
README.markdown
travis/cabal-apt-install
travis/config
flag terminfo
description: Enable terminfo on POSIX platforms
default: True
flag ansi
description: Enable ANSI on POSIX platforms
default: True
source-repository head
type: git
location: git://github.com/ekmett/terminal.git
library
build-depends:
base >= 4.4 && < 5,
data-default >= 0.4 && < 0.5,
ghc-prim,
lens >= 3.8,
mtl >= 2 && < 2.2,
transformers >= 0.2.2 && < 0.4
-- if os(windows)
-- build-depends: Win32 >=2.0
-- cpp-options: -DWIN32
-- else
-- build-depends: unix >=2.0 && < 2.7
-- cpp-options: -DUNIX
if flag(terminfo)
cpp-options: -DUSE_TERMINFO
build-depends: terminfo >= 0.3.2 && < 0.4
build-depends: ansi-terminal >= 0.5.5.1 && < 0.6
exposed-modules:
System.Console.Terminal.Backend.ANSI
hs-source-dirs: src
exposed-modules:
System.Console.Terminal
System.Console.Terminal.Bell
System.Console.Terminal.Class
System.Console.Terminal.Color
System.Console.Terminal.Color.Intense
System.Console.Terminal.Intensity
System.Console.Terminal.Style
other-modules:
System.Console.Terminal.Util
default-language: Haskell2010
ghc-options: -Wall
test-suite doctests
type: exitcode-stdio-1.0
main-is: doctests.hs
default-language: Haskell2010
build-depends:
base,
directory >= 1.0,
doctest >= 0.9.1,
filepath
ghc-options: -Wall -threaded
if impl(ghc<7.6.1)
ghc-options: -Werror
hs-source-dirs: tests