Skip to content

Commit

Permalink
Mention implicit-hie
Browse files Browse the repository at this point in the history
  • Loading branch information
jneira committed May 16, 2020
1 parent 2be97e8 commit 7eca41a
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@ For that you need to know what *components* have your project and the path
associated with each one. So you will need some knowledge about
[stack](https://docs.haskellstack.org/en/stable/build_command/#components) or [cabal](https://cabal.readthedocs.io/en/latest/cabal-commands.html?#cabal-v2-build) components.

You also can use [this utility](https://github.com/Avi-D-coder/implicit-hie
) to generate automatically `hie.yaml` files for
the most common stack and cabal configurations

For example, to state that you want to use `stack` then the configuration file
would look like:

Expand Down Expand Up @@ -233,12 +237,6 @@ cradle:
component: "ghcide:exe:ghcide"
```

You can get some help to extract what components have your project running

```bash
stack ide targets
```

Or you can explicitly state the program which should be used to collect
the options by supplying the path to the program. It is interpreted
relative to the current working directory if it is not an absolute path.
Expand Down

0 comments on commit 7eca41a

Please sign in to comment.