-
Notifications
You must be signed in to change notification settings - Fork 0
/
haskellorls.cabal
177 lines (161 loc) · 4.35 KB
/
haskellorls.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
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
cabal-version: 2.2
name: haskellorls
version: 0.6.1.0
synopsis: Haskell implementation of ls
license: BSD-3-Clause
license-file: LICENSE
maintainer: [email protected]
author: a5ob7r
tested-with:
GHC ==9.2.8 || ==9.4.8 || ==9.6.4 || ==9.8.2 || ==9.10.1
extra-source-files:
CHANGELOG.md
README.md
flag rtsopts
description: Enable -rtsopts
default: False
manual: True
flag pedantic
description: Enable -Werror
default: False
manual: True
flag selinux
description: Enable SELinux support
default: False
manual: True
common common-options
build-depends: base >=4.14 && <4.21
default-language: GHC2021
ghc-options:
-W -Wall -Wcompat -Wredundant-constraints -Wpartial-fields
-Wunused-packages -Widentities -Wprepositive-qualified-module
-Wredundant-bang-patterns
if flag(pedantic)
ghc-options: -Werror
library haskellorls-internal
import: common-options
exposed-modules:
Haskellorls
Haskellorls.Class
Haskellorls.Config
Haskellorls.Config.Context
Haskellorls.Config.DeviceNumber
Haskellorls.Config.Environment
Haskellorls.Config.Filemode
Haskellorls.Config.Filemode.Entry
Haskellorls.Config.Filemode.Permission
Haskellorls.Config.Filetime
Haskellorls.Config.Format
Haskellorls.Config.Indicator
Haskellorls.Config.Inode
Haskellorls.Config.Link
Haskellorls.Config.Listing
Haskellorls.Config.Option
Haskellorls.Config.Ownership
Haskellorls.Config.Quote
Haskellorls.Config.Size
Haskellorls.Config.Sort
Haskellorls.Config.TimeStyle
Haskellorls.Config.TimeType
Haskellorls.Config.Tree
Haskellorls.Config.When
Haskellorls.Data.Gettext.Extra
Haskellorls.Data.Infinitable
Haskellorls.Formatter
Haskellorls.Formatter.Attribute
Haskellorls.Formatter.Filemode
Haskellorls.Formatter.Indicator
Haskellorls.Formatter.Layout.Grid
Haskellorls.Formatter.Name
Haskellorls.Formatter.Number
Haskellorls.Formatter.Ownership
Haskellorls.Formatter.Quote
Haskellorls.Formatter.Size
Haskellorls.Formatter.SymbolicLink
Haskellorls.Formatter.Time
Haskellorls.Formatter.Tree
Haskellorls.Formatter.WrappedText
Haskellorls.Humanize.FileSize
Haskellorls.LsColor
Haskellorls.LsColor.Class
Haskellorls.LsColor.Color
Haskellorls.LsColor.Config
Haskellorls.LsColor.Icon
Haskellorls.NodeInfo
Haskellorls.System.Locale
Haskellorls.System.OsPath.Posix.Extra
Haskellorls.System.Posix.PosixString
Haskellorls.Walk
Haskellorls.Walk.Dired
Haskellorls.Walk.Listing
Haskellorls.Walk.Sort
Haskellorls.Walk.Utils
other-modules:
Paths_haskellorls
Prelude
autogen-modules: Paths_haskellorls
hs-source-dirs: src
default-extensions:
BlockArguments
CPP
LambdaCase
MultiWayIf
OverloadedStrings
RecordWildCards
StrictData
build-depends:
, bytestring
, containers
, data-default-class
, directory
, env-locale
, extra
, filepath ^>=1.5
, Glob
, haskell-gettext
, hostname
, localeconv
, microlens-mtl
, microlens-th
, mtl
, natural-sort
, optparse-applicative ^>=0.18.1
, os-string
, safe-exceptions
, setlocale
, terminal-size
, text >=2.0
, time
, transformers
, unix ^>=2.8
, witch
if flag(selinux)
build-depends: selinux
cpp-options: -DSELINUX
executable haskellorls
import: common-options
main-is: Main.hs
hs-source-dirs: app
build-depends: haskellorls-internal
if flag(rtsopts)
ghc-options: -rtsopts
test-suite test
import: common-options
type: exitcode-stdio-1.0
main-is: Spec.hs
hs-source-dirs: test
build-depends:
, haskellorls-internal
, QuickCheck
, sydtest
, time
, witch
other-modules:
Test.Haskellorls.Config.Option.SizeSpec
Test.Haskellorls.Config.TimeStyleSpec
Test.Haskellorls.Data.InfinitableSpec
Test.Haskellorls.Formatter.NumberSpec
Test.Haskellorls.Formatter.TimeSpec
Test.Haskellorls.Humanize.FileSizeSpec
build-tool-depends: sydtest-discover:sydtest-discover
ghc-options: -threaded -rtsopts -with-rtsopts=-N