forked from CardanoSolutions/kupo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.hpack.config.yaml
47 lines (42 loc) · 1.37 KB
/
.hpack.config.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
# Set of default configuration re-used across the project and its sub-modules.
#
# The choices below are quite opinionated, mostly derived from:
#
# https://github.com/commercialhaskell/rio
---
_default-extensions: !include ".stylish-haskell.yaml"
ghc-options:
library: &ghc-options-lib
- -Wall
- -Wcompat
- -Widentities
- -Wincomplete-record-updates
- -Wincomplete-uni-patterns
- -Wpartial-fields
- -Wredundant-constraints
- -Wunused-packages
- -fno-warn-unticked-promoted-constructors
- -fno-warn-partial-fields
executable: &ghc-options-executable
- -Wall # ^
- -Wcompat # |
- -Widentities # |
- -Wincomplete-record-updates # | Same as &ghc-options-lib
- -Wincomplete-uni-patterns # |
- -Wpartial-fields # |
- -Wredundant-constraints # |
- -Wunused-packages # v
- -threaded
- -rtsopts
test: &ghc-options-test
- -Wall # ^
- -Wcompat # |
- -Widentities # |
- -Wincomplete-record-updates # | Same as &ghc-options-lib
- -Wincomplete-uni-patterns # |
- -Wpartial-fields # |
- -Wredundant-constraints # |
- -Wunused-packages # v
- -threaded
- -rtsopts
- -with-rtsopts=-N