-
Notifications
You must be signed in to change notification settings - Fork 0
/
package.yaml
62 lines (55 loc) · 1.18 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
name: comprex
version: 0.0.0.2
github: "telostat/comprex"
license: MIT
author: "Vehbi Sinan Tunalioglu"
maintainer: "[email protected]"
copyright: "Copyright (c) 2021 Telostat Pte Ltd"
description: Please see the README on GitHub at <https://github.com/telostat/comprex#readme>
extra-source-files:
- README.md
- CHANGELOG.md
flags:
static:
description: Use static linking for the main executable
default: false
manual: true
dependencies:
- base >= 4.11 && < 5
- base16-bytestring
- bytestring
- cryptohash-sha1
- exceptions
- path
- path-io
- zlib
library:
source-dirs: src
ghc-options:
- -Wall
default-extensions:
- OverloadedStrings
executable:
main: Main.hs
source-dirs: app
ghc-options:
- -threaded
- -rtsopts
- -with-rtsopts=-N
dependencies:
- comprex
- optparse-applicative
when:
- condition: "flag(static) && !(os(osx))"
ld-options:
- -static
- -pthread
tests:
comprex-doctest:
main: doctest.hs
source-dirs: .
ghc-options:
- -threaded
dependencies:
- comprex
- doctest