-
-
Notifications
You must be signed in to change notification settings - Fork 29
/
.hpack.config.yaml
45 lines (40 loc) · 1.29 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
# 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
- -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 # 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 # v
- -Wunused-packages
- -threaded
- -rtsopts
- -with-rtsopts=-N