-
Notifications
You must be signed in to change notification settings - Fork 1
/
package.yaml
62 lines (56 loc) · 1.25 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: stoplight
version: 0.1.0.0
synopsis: Rate-limiting constructs for monadic actions
description: Rate-limiting constructs for monadic actions
license: BSD3
license-file: LICENSE
author: Ozgun Ataman
maintainer: [email protected]
copyright: Soostone Inc, 2014
category: Control
build-type: Simple
when:
- condition: flag(development)
then:
cpp-options: -DDEVELOPMENT
else:
cpp-options: -DNODEVELOPMENT
- condition: flag(lib-Werror)
then:
ghc-options:
- -Wall -Werror -fwarn-redundant-constraints -Wincomplete-record-updates
else:
ghc-options:
- -Wall -fwarn-redundant-constraints -Wincomplete-record-updates
flags:
lib-Werror:
manual: true
default: false
description: "Turn on -Wall and -Werror. Should always be enabled"
development:
manual: true
default: false
description: >-
Compile with -O0 for faster compile times.
Disable for production builds.
default-extensions:
- DeriveDataTypeable
dependencies:
- base
- SafeSemaphore
- exceptions
- immortal
library:
source-dirs: src
tests:
test:
main: Main.hs
source-dirs:
- src
- test
dependencies:
- tasty
- tasty-hspec
- tasty-hunit
- tasty-discover