Skip to content

Commit 68e04b4

Browse files
committed
Add hie.yaml
1 parent f573727 commit 68e04b4

File tree

2 files changed

+14
-2
lines changed

2 files changed

+14
-2
lines changed

.vscode/tasks.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
"label": "Build",
66
"type": "shell",
77
"command": "bash",
8-
"args": ["-lc", "cabal new-build && echo 'Done'"],
8+
"args": ["-lc", "cabal new-build --enable-tests --enable-benchmarks && echo 'Done'"],
99
"group": {
1010
"kind": "build",
1111
"isDefault": true
@@ -37,7 +37,7 @@
3737
"label": "Test",
3838
"type": "shell",
3939
"command": "bash",
40-
"args": ["-lc", "cabal new-test --enable-tests && echo 'Done'"],
40+
"args": ["-lc", "cabal new-test --enable-tests --enable-benchmarks && echo 'Done'"],
4141
"group": {
4242
"kind": "test",
4343
"isDefault": true

hie.yaml

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
cradle:
2+
direct:
3+
arguments:
4+
- -Wincomplete-patterns
5+
- -Wincomplete-record-updates
6+
- -Wincomplete-uni-patterns
7+
- -Wname-shadowing
8+
- -Worphans
9+
- -Wredundant-constraints
10+
- -Wunused-binds
11+
- -Wunused-imports
12+
- -Wunused-matches

0 commit comments

Comments
 (0)