Skip to content

Commit 158a412

Browse files
authored
Add a hie.yaml (#498)
This allows us to load all Haskell files in the project using the Haskell Language Server.
1 parent e43f093 commit 158a412

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

hie.yaml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
cradle:
2+
multi:
3+
- path: "./message-index/create-message-template.hs"
4+
config:
5+
cradle:
6+
direct:
7+
arguments: []
8+
- path: "./message-index/site.hs"
9+
config:
10+
cradle:
11+
cabal:
12+
- path: "./message-index/site.hs"
13+
component: "message-index:exe:site"
14+
- path: "./message-index/messages"
15+
config:
16+
cradle:
17+
# TODO We could use a `bios` cradle instead, to get the precise flags necessary to trigger the message.
18+
# e.g. by parsing the `flag:` field from `index.md` if that were used consistently.
19+
# But `-Wall` is a decent approximation.
20+
direct:
21+
arguments: [ -Wall ]

0 commit comments

Comments
 (0)