forked from lpeterse/haskell-terminal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.yaml
134 lines (127 loc) · 3.07 KB
/
package.yaml
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
name: terminal
synopsis: Portable terminal interaction library
version: 0.2.0.0
github: "lpeterse/haskell-terminal"
license: BSD3
author: "Lars Petersen"
maintainer: "[email protected]"
copyright: "2018 Lars Petersen"
category: Terminal
extra-source-files:
- README.md
- CHANGELOG.md
- LICENSE
- platform/posix/cbits/hs_terminal.c
- platform/posix/include/hs_terminal.h
- platform/posix/src/System/Terminal/Platform.hsc
- platform/windows/cbits/hs_terminal.c
- platform/windows/include/hs_terminal.h
- platform/windows/src/System/Terminal/Platform.hsc
description: Please see the README on Github at <https://github.com/lpeterse/haskell-terminal#readme>
dependencies:
- base >= 4.7 && < 5
- async
- bytestring
- exceptions >= 0.10.0
- prettyprinter
- stm
- text
- transformers
default-extensions:
- LambdaCase
- MultiWayIf
- BlockArguments
- OverloadedStrings
- GeneralizedNewtypeDeriving
- TupleSections
library:
ghc-options: -Wall -fwarn-incomplete-patterns
source-dirs: src
exposed-modules:
- System.Terminal
- System.Terminal.Internal
other-modules:
- System.Terminal.Decoder
- System.Terminal.Encoder
- System.Terminal.MonadInput
- System.Terminal.MonadPrinter
- System.Terminal.MonadScreen
- System.Terminal.MonadTerminal
- System.Terminal.Pretty
- System.Terminal.Terminal
- System.Terminal.TerminalT
- System.Terminal.Platform
- System.Terminal.Virtual
when:
- condition: os(windows)
then:
source-dirs:
- src
- platform/windows/src
include-dirs:
- platform/windows/include
c-sources:
- platform/windows/cbits/hs_terminal.c
else:
source-dirs:
- src
- platform/posix/src
include-dirs:
- platform/posix/include
c-sources:
- platform/posix/cbits/hs_terminal.c
tests:
terminal-test:
main: Spec.hs
source-dirs:
- test
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- terminal
- tasty
- tasty-hunit
- tasty-quickcheck
executables:
terminal-ev:
main: Main.hs
source-dirs: example/terminal-ev
ghc-options:
- -Werror
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- terminal
# terminal-out:
# main: Main.hs
# source-dirs: example/terminal-out
# ghc-options:
# - -Werror
# - -threaded
# - -rtsopts
# - -with-rtsopts=-N
# dependencies:
# - terminal
# terminal-printer:
# main: Main.hs
# source-dirs: example/terminal-printer
# ghc-options:
# - -Werror
# - -threaded
# - -rtsopts
# - -with-rtsopts=-N
# dependencies:
# - terminal
# terminal-screen:
# main: Main.hs
# source-dirs: example/terminal-screen
# ghc-options:
# - -Werror
# - -threaded
# - -rtsopts
# - -with-rtsopts=-N
# dependencies:
# - terminal