-
Notifications
You must be signed in to change notification settings - Fork 3
/
wsedit.cabal
131 lines (106 loc) · 2.58 KB
/
wsedit.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
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
name: wsedit
version: 1.2.5.18
synopsis: A simple terminal source code editor.
description:
homepage: https://github.com/LadyBoonami/wsedit
license: BSD3
license-file: LICENSE
author: Sophie Hirn
maintainer: [email protected]
copyright: 2016 Sophie Hirn
category: Development
build-type: Simple
cabal-version: >=1.10
flag dev
description: Build with development flags, call the executable wsed-dev.
default: False
library
hs-source-dirs: src/
default-language: Haskell2010
default-extensions: CPP
exposed-modules:
WSEdit,
WSEdit.Arguments,
WSEdit.Arguments.Data,
WSEdit.Arguments.Parser,
WSEdit.Buffer,
WSEdit.Control.Autocomplete,
WSEdit.Control.Base,
WSEdit.Control.Global,
WSEdit.Control.Marks,
WSEdit.Control.Selection,
WSEdit.Control.Text,
WSEdit.Data,
WSEdit.Data.Algorithms,
WSEdit.Data.Pretty,
WSEdit.ElasticTabstops,
WSEdit.Help,
WSEdit.Keymaps,
WSEdit.Output,
WSEdit.Renderer,
WSEdit.Util,
WSEdit.WordTree
build-depends:
base >= 4.7 && < 5,
bytestring >= 0.10 && < 1,
charsetdetect-ae >= 1.0 && < 2,
data-default >= 0.5.3 && < 1,
deepseq >= 1.2.0 && < 2,
directory >= 1.2.6 && < 2,
filepath >= 1.4.1 && < 2,
hashable >= 1.2.4 && < 2,
mtl >= 2.2.1 && < 3,
pretty-show >= 1.6.9 && < 2,
safe >= 0.3.9 && < 1,
parsec >= 3.1.11 && < 4,
process >= 1.2.3 && < 2,
split >= 0.2.3 && < 1,
strict >= 0.3.2 && < 1,
transformers >= 0.4.2 && < 1,
unix >= 2.7 && < 3,
vty >= 5.20 && < 6
ghc-options:
-Wall
-fwarn-incomplete-uni-patterns
-fwarn-missing-import-lists
-fwarn-tabs
if flag(dev)
build-depends:
time >= 1.6.0 && < 2
ghc-options:
-Werror
cpp-options:
-Ddev
else
ghc-options:
-O2
executable wsed
hs-source-dirs: exec/
main-is: Main.hs
default-language: Haskell2010
build-depends:
base >= 4.7 && < 5,
wsedit
ghc-options:
-threaded
-Wall
-O2
if flag(dev)
buildable: False
else
buildable: True
executable wsed-dev
hs-source-dirs: exec/
main-is: Main.hs
default-language: Haskell2010
build-depends:
base >= 4.7 && < 5,
wsedit
ghc-options:
-threaded
-Wall
-Werror
if flag(dev)
buildable: True
else
buildable: False