-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstamina.cabal
53 lines (49 loc) · 1.32 KB
/
stamina.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
cabal-version: 3.4
name: stamina
version: 0.1.0.3
synopsis: Retries for humans
homepage: https://github.com/cachix/stamina.hs
license: Apache-2.0
license-file: LICENSE
author: Domen Kožar
maintainer: [email protected]
category: Control
build-type: Simple
extra-doc-files:
CHANGELOG.md
README.md
common warnings
ghc-options: -Wall
default-language: GHC2021
library
import: warnings
exposed-modules:
Stamina
, Stamina.HTTP
build-depends: base >= 4.2 && < 5,
http-client,
http-types,
time,
exceptions,
random
hs-source-dirs: src
test-suite stamina-test
import: warnings
default-language: GHC2021
type: exitcode-stdio-1.0
hs-source-dirs: test
main-is: Main.hs
build-depends:
base,
stamina,
hspec,
mtl,
exceptions,
time,
http-client
-- typechecks README during CI but doesn't run it
executable readme
main-is: README.lhs
build-depends: stamina, base, exceptions
ghc-options: -pgmL markdown-unlit
build-tool-depends: markdown-unlit:markdown-unlit