You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* Add stack.yaml to install/ folder
* Add Stack and Cabal templates for hie.yaml for install/ folder
* Add and cleanup documentation about hie.yaml
* Add comment about building for Stack
Copy file name to clipboardExpand all lines: README.md
+21-9
Original file line number
Diff line number
Diff line change
@@ -497,15 +497,27 @@ args = ["--lsp"]
497
497
498
498
### Hacking on haskell-language-server
499
499
500
-
Haskell-language-server can be used on its own project. We have supplied
501
-
preset samples of `hie.yaml` files for stack and cabal, simply copy
502
-
the appropriate template to `hie.yaml` and it should work.
500
+
Haskell-language-server can be used on itself. We provide
501
+
preset samples of `hie.yaml` for Cabal and Stack.
503
502
504
-
- `hie.yaml.cbl`for cabal
505
-
- `hie.yaml.stack`for stack
503
+
Note: the `./install/` folder is not directly tied to the project so it has dedicated `./install/hie.yaml.[cbl|stack]`
504
+
templates.
506
505
507
-
Two sample `hie.yaml` files are provided, `hie.yaml.stack` for stack
508
-
usage, `hie.yaml.cbl` for cabal. Simply copy the relevant one to be
509
-
`hie.yaml`and it should work.
506
+
#### Using Cabal
510
507
511
-
The developers tend to hang out at [our IRC channel](https://webchat.freenode.net/?channels=haskell-ide-engine) at `#haskell-ide-engine` on `freenode`.
508
+
```shell
509
+
$ cp hie.yaml.cbl hie.yaml
510
+
$ cp install/hie.yaml.cbl install/hie.yaml
511
+
```
512
+
513
+
#### Using Stack
514
+
515
+
Note: Stack project must also be built once until [this issue](https://github.com/commercialhaskell/stack/issues/5213) is fixed.
0 commit comments