-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpackage.yaml
More file actions
137 lines (128 loc) · 2.86 KB
/
package.yaml
File metadata and controls
137 lines (128 loc) · 2.86 KB
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
name: taskrunner
version: 0.18.0.10
github: "githubuser/taskrunner"
license: BSD-3-Clause
author: "Author name here"
maintainer: "example@example.com"
copyright: "2024 Author name here"
extra-source-files:
- README.md
- CHANGELOG.md
# Metadata used when publishing your package
# synopsis: Short description of your package
# category: Web
# To avoid duplicated efforts in documentation and dealing with the
# complications of embedding Haddock markup inside cabal files, it is
# common to point users to the README.md file.
description: Please see the README on GitHub at <https://github.com/githubuser/taskrunner#readme>
dependencies:
- base >= 4.7 && < 5
- universum
- containers
- text
- filepath
- directory
- data-default
- bytestring
- unix
- process
- async
- time
- temporary
- optparse-applicative
- filelock
- Glob
- file-embed
- aeson
- cryptonite
- resourcet
- amazonka
- amazonka-core
- amazonka-s3
- amazonka-s3-streaming
- zstd
- conduit-zstd
- tar
- tar-conduit
- conduit
- conduit-combinators
- conduit-extra
- network-uri
- random
- lens
- jwt
- http-client
- http-client-tls
- http-types
- transformers
default-extensions:
- OverloadedStrings
- DuplicateRecordFields
- OverloadedRecordDot
- DerivingStrategies
- DerivingVia
- DeriveGeneric
- GeneralizedNewtypeDeriving
- BlockArguments
- FlexibleContexts
- TupleSections
- NamedFieldPuns
- LambdaCase
- MultiWayIf
- NoImplicitPrelude
- ScopedTypeVariables
- MultiParamTypeClasses
- FunctionalDependencies
- TypeSynonymInstances
- FlexibleInstances
- FlexibleContexts
- ExplicitNamespaces
- PatternSynonyms
- ImportQualifiedPost
- OverloadedLabels
- TypeApplications
- DeriveAnyClass
- ViewPatterns
- DataKinds
- TypeFamilies
- RecordWildCards
- DeriveTraversable
- DeriveFoldable
- TypeOperators
- NoFieldSelectors
ghc-options:
- -Wall
- -Wcompat
- -Widentities
- -Werror=incomplete-record-updates
- -Werror=incomplete-uni-patterns
- -Wmissing-home-modules
- -Werror=partial-fields
- -Wredundant-constraints
library:
source-dirs: src
ghc-options: -O
executables:
taskrunner:
main: Main.hs
source-dirs: app
ghc-options:
# Note: -threaded is actually needed even if we don't need multicore, see https://hackage.haskell.org/package/process-1.6.20.0/docs/System-Process.html#v:waitForProcess
# > GHC Note: in order to call waitForProcess without blocking all the other threads in the system, you must compile the program with -threaded.
- -threaded
- -O
dependencies:
- taskrunner
tests:
taskrunner-test:
main: Spec.hs
source-dirs: test
ghc-options:
- -threaded
dependencies:
- taskrunner
- tasty
- tasty-golden
- wai
- warp
- http-types