-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathshrun.cabal
317 lines (289 loc) · 8.58 KB
/
shrun.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
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
cabal-version: 2.4
name: shrun
version: 0.9.2
license: MIT
license-file: LICENSE
tested-with: GHC ==9.6.5 || ==9.8.2 || ==9.10.1
copyright: 2021-2024 Thomas Bidne
author: Thomas Bidne
maintainer: [email protected]
homepage: https://github.com/tbidne/shrun/
bug-reports: https://github.com/tbidne/shrun/issues
synopsis: A utility program for running shell commands concurrently.
description:
Please see the README at https://github.com/tbidne/shrun/#readme
-- TODO: Some of these really don't belong in extra-source-files (and we'd
-- also like to include more in sdist e.g. nix/stack files), but for now
-- include them: See https://github.com/haskell/cabal/issues/8817.
category: Shell scripting, Utils, Concurrency
extra-source-files:
cabal.ghc982.project
cabal.ghc982.project.freeze
cabal.project
documentation/*.md
examples/*.toml
examples/bashrc
examples/demo.gif
LICENSE
README.md
test/functional/scripts/*.sh
test/integration/toml/*.toml
test/integration/toml/osx/*.toml
extra-doc-files: CHANGELOG.md
source-repository head
type: git
location: https://github.com/tbidne/shrun
common common-lang
default-extensions:
ApplicativeDo
DataKinds
DeriveAnyClass
DerivingVia
DuplicateRecordFields
LambdaCase
MultiWayIf
NoFieldSelectors
NoImplicitPrelude
NoStarIsType
OverloadedLabels
OverloadedRecordDot
OverloadedStrings
PatternSynonyms
StrictData
TypeFamilies
if os(osx)
cpp-options: -DOSX
default-language: GHC2021
library
import: common-lang
other-modules: Paths_shrun
autogen-modules: Paths_shrun
exposed-modules:
Shrun
Shrun.Configuration
Shrun.Configuration.Args
Shrun.Configuration.Args.Parsing
Shrun.Configuration.Args.Parsing.CommandLogging
Shrun.Configuration.Args.Parsing.CommonLogging
Shrun.Configuration.Args.Parsing.ConsoleLogging
Shrun.Configuration.Args.Parsing.Core
Shrun.Configuration.Args.Parsing.FileLogging
Shrun.Configuration.Args.Parsing.Notify
Shrun.Configuration.Args.Parsing.Utils
Shrun.Configuration.Data.CommandLogging
Shrun.Configuration.Data.CommandLogging.PollInterval
Shrun.Configuration.Data.CommandLogging.ReadSize
Shrun.Configuration.Data.CommandLogging.ReadStrategy
Shrun.Configuration.Data.CommonLogging
Shrun.Configuration.Data.CommonLogging.KeyHideSwitch
Shrun.Configuration.Data.ConfigPhase
Shrun.Configuration.Data.ConsoleLogging
Shrun.Configuration.Data.ConsoleLogging.TimerFormat
Shrun.Configuration.Data.Core
Shrun.Configuration.Data.Core.Timeout
Shrun.Configuration.Data.FileLogging
Shrun.Configuration.Data.FileLogging.FileMode
Shrun.Configuration.Data.FileLogging.FilePathDefault
Shrun.Configuration.Data.FileLogging.FileSizeMode
Shrun.Configuration.Data.MergedConfig
Shrun.Configuration.Data.Notify
Shrun.Configuration.Data.Notify.Action
Shrun.Configuration.Data.Notify.System
Shrun.Configuration.Data.Notify.Timeout
Shrun.Configuration.Data.StripControl
Shrun.Configuration.Data.Truncation
Shrun.Configuration.Data.WithDisabled
Shrun.Configuration.Default
Shrun.Configuration.Env
Shrun.Configuration.Env.Types
Shrun.Configuration.Legend
Shrun.Configuration.Toml
Shrun.Configuration.Toml.Legend
Shrun.Data.Command
Shrun.Data.Text
Shrun.IO
Shrun.IO.Handle
Shrun.Logging
Shrun.Logging.Formatting
Shrun.Logging.MonadRegionLogger
Shrun.Logging.Types
Shrun.Logging.Types.Internal
Shrun.Notify
Shrun.Notify.AppleScript
Shrun.Notify.DBus
Shrun.Notify.MonadNotify
Shrun.Notify.NotifySend
Shrun.Prelude
Shrun.ShellT
Shrun.Utils
build-depends:
, base >=4.17 && <4.21
, bytestring >=0.10.12 && <0.13
, concurrent-output ^>=1.10.7
, containers >=0.6.2.1 && <0.8
, dbus >=1.2.14 && <1.4
, effects-async ^>=0.1
, effects-env ^>=0.1
, effects-fs ^>=0.1
, effects-ioref ^>=0.1
, effects-optparse ^>=0.1
, effects-stm ^>=0.1
, effects-terminal ^>=0.1
, effects-thread ^>=0.1
, effects-time ^>=0.1
, effects-typed-process ^>=0.1
, exception-utils ^>=0.1
, exceptions ^>=0.10.4
, fdo-notify ^>=0.3.1
, filepath >=1.4.100.1 && <1.6
, hashable >=1.3.0.0 && <1.6
, mtl >=2.2.1 && <2.4
, nonempty-containers >=0.3.4.2 && <0.4
, optics-core ^>=0.4
, optparse-applicative >=0.15 && <0.19
, pretty-terminal ^>=0.1
, relative-time ^>=0.1
, si-bytes ^>=0.1
, text >=1.2.3.2 && <2.2
, toml-reader >=0.2.0.0 && <0.3.0.0
, unordered-containers ^>=0.2.9.0
-- For tuple syntax
if impl(ghc >=9.10.1)
build-depends: ghc-experimental ^>=0.1.0.0
hs-source-dirs: src
library shrun-verifier
import: common-lang
exposed-modules: Test.Shrun.Verifier
build-depends:
, base
, tasty-hunit >=0.9 && <0.11
, text
hs-source-dirs: test/verifier
executable shrun
import: common-lang
main-is: Main.hs
build-depends:
, base
, shrun
hs-source-dirs: app
ghc-options: -threaded -with-rtsopts=-N
test-suite unit
import: common-lang
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
Unit.Generators
Unit.Prelude
Unit.Shrun.Configuration.Args.Parsing
Unit.Shrun.Configuration.Args.Parsing.CommandLogging
Unit.Shrun.Configuration.Args.Parsing.CommonLogging
Unit.Shrun.Configuration.Args.Parsing.ConsoleLogging
Unit.Shrun.Configuration.Args.Parsing.Core
Unit.Shrun.Configuration.Args.Parsing.FileLogging
Unit.Shrun.Configuration.Args.Parsing.Notify
Unit.Shrun.Configuration.Args.Parsing.TestUtils
Unit.Shrun.Configuration.Data.CommandLogging.ReadSize
Unit.Shrun.Configuration.Data.WithDisabled
Unit.Shrun.Configuration.Legend
Unit.Shrun.IO.Handle
Unit.Shrun.Logging.Formatting
Unit.Shrun.Logging.Generators
Unit.Shrun.Utils
build-depends:
, base
, containers
, effects-time
, hedgehog >=1.0.2 && <1.6
, optparse-applicative
, shrun
, si-bytes
, tasty >=1.1.0.3 && <1.6
, tasty-hedgehog >=1.2.0.0 && <1.5
, tasty-hunit
, text
, time >=1.9.3 && <1.15
, unordered-containers
hs-source-dirs: test/unit
ghc-options: -threaded -with-rtsopts=-N
test-suite integration
import: common-lang
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
Integration.Defaults
Integration.Examples
Integration.Failures
Integration.Miscellaneous
Integration.Prelude
Integration.Utils
build-depends:
, base
, dbus
, effects-fs
, effects-terminal
, env-guard
, hedgehog
, nonempty-containers
, shrun
, tasty
, tasty-hedgehog
, tasty-hunit
, text
hs-source-dirs: test/integration
test-suite functional
import: common-lang
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
Functional.Buffering
Functional.Examples
Functional.Examples.CommandLogging
Functional.Examples.CommonLogging
Functional.Examples.ConsoleLogging
Functional.Examples.Core
Functional.Examples.FileLogging
Functional.Examples.Notify
Functional.Miscellaneous
Functional.Notify
Functional.Prelude
Functional.ReadStrategyTest
Functional.TestArgs
build-depends:
, base
, effects-fs
, env-guard
, fdo-notify
, optparse-applicative
, shrun
, shrun-verifier
, tagged ^>=0.8.6
, tasty
, tasty-hunit
, text
hs-source-dirs: test/functional
test-suite notify
import: common-lang
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules:
build-depends:
, base
, env-guard
, shrun
, tasty
, tasty-hunit
, text
hs-source-dirs: test/notify
benchmark benchmarks
import: common-lang
type: exitcode-stdio-1.0
main-is: Main.hs
other-modules: Bench.Prelude
build-depends:
, base
, deepseq >=1.4.4.0 && <1.6
, effects-fs
, env-guard ^>=0.2
, shrun
, tasty-bench >=0.3 && <0.5
hs-source-dirs: benchmarks