-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathhie.yaml
More file actions
42 lines (39 loc) · 1.32 KB
/
hie.yaml
File metadata and controls
42 lines (39 loc) · 1.32 KB
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
# Dear Future-Self,
#
# For a simple project like this one, this file shouldn't be necessary,
# allegedly. But without it, the language server will randomly poop out and
# spit out crazy errors about GHC versions. See this reddit thread for more
# context:
#
# https://www.reddit.com/r/haskell/comments/yr09pb/hls_stack_bizarre_redherring_error_about_ghcide/
#
# Also, if this file exists at all, we should (allegedly!) be able to specify
# an even simpler form of it, i.e. just:
# ```
# cradle:
# stack:
# ```
# ...but this causes issues with the HLS as well, prevents it from finding
# dependencies in the `test` component.
#
# See https://github.com/haskell/hie-bios for more instructions on how to use
# this file. (There is also https://hackage.haskell.org/package/implicit-hie to
# auto-gen the file, but it generated incorrect results for me so I had to do
# it manually.)
#
# Anyway, assuming you don't add any more components, this shouldn't have to
# change. (And if it does, check out the output of `stack ide targets` for help
# figuring out what goes where.)
#
# Love,
# Past-Self
cradle:
stack:
- path: "./src"
component: "tvmv:lib"
- path: "./app"
component: "tvmv:exe:tvmv"
- path: "./test/unit"
component: "tvmv:test:unit"
- path: "./test/integration"
component: "tvmv:test:integration"