-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpackage.yaml
78 lines (68 loc) · 1.94 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
name: teardown
version: '0.5.0.1'
synopsis: Build safe and composable teardown sub-routines for resources
description: |
The teardown library allows you to reliably execute cleanup sub-routines for
allocated resources. When a program is initialized, it:
* Ensures that teardown sub-routines are executed /exactly/ once
* Ensures that if errors occur on the execution of a Teardown sub-routine, the
error does not propagate to others; bulkheading failure on cleanup.
* Requires every sub-routine to be documented at creation time; thus helping
tracing your application structure.
* Allows tracing the teardown of your application, how is structured, how much
time it takes to execute, and what component (if any) failed to finalize.
category: System
author: Roman Gonzalez
maintainer: open-source@roman-gonzalez.info
copyright: © 2017, 2018 Roman Gonzalez
license: MIT
github: roman/Haskell-teardown
tested-with: GHC==8.0.1 GHC==8.0.2 GHC==8.2.1
extra-source-files:
- README.md
- CHANGELOG.md
ghc-options:
- -Wall
# as recommended in:
# https://functor.tokyo/blog/2017-07-28-ghc-warnings-you-should-enable
- -Wincomplete-uni-patterns
- -Wincomplete-record-updates
dependencies:
- base >=4.8 && <5
- rio >= 0.0.0.0
- unliftio >= 0.2.4.0
- typed-process >= 0.1.0.0
library:
source-dirs: src
exposed-modules:
- Control.Teardown
other-modules:
- Control.Teardown.Internal.Types
- Control.Teardown.Internal.Core
- Control.Teardown.Internal.Printer
dependencies:
- prettyprinter >= 1.1
tests:
teardown-test:
main: TestSuite.hs
source-dirs: test/tasty
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- tasty >=0.11
- tasty-hunit >=0.9.2
- teardown
benchmarks:
teardown-benchmark:
main: Main.hs
source-dirs: benchmark
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- gauge >=0.1.3
- teardown
stability: alpha (experimental)