Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Commit 20255f2

Browse files
authored
Add table for automatic cradle discovery
1 parent a79ec33 commit 20255f2

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -312,6 +312,13 @@ There are some settings that can be configured via a `settings.json` file:
312312
HIE will attempt to automatically detect your project configuration and set up
313313
the environment for GHC.
314314

315+
| `cabal.project` | `stack.yaml` | `*.cabal` | Project selected |
316+
|-----------------|--------------|-----------|------------------|
317+
|| - | - | Cabal v2 |
318+
||| - | Stack |
319+
|||| Cabal (v2 or v1) |
320+
|||| Plain GHC |
321+
315322
However, you can also place a `hie.yaml` file in the root of the workspace to
316323
**explicitly** describe how to setup the environment. For example, to state that
317324
you want to use `stack` then the configuration file would look like:

0 commit comments

Comments
 (0)