Skip to content

Commit 10c2247

Browse files
authored
Update hie build instructions
Closes #199
1 parent da97b6f commit 10c2247

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

README.md

Lines changed: 20 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,16 +8,34 @@ Client interface to the Language Server Protocol server for Haskell, as provided
88

99
The language client requires you to manually install the [HIE](https://github.com/haskell/haskell-ide-engine) language server which can be done with commands below but this will take exceedingly long time and less than robust, consider proceeding to installation readme at the link below, it has option for getting bins directly,
1010

11+
Using stack:
12+
13+
```bash
14+
$ git clone https://github.com/haskell/haskell-ide-engine --recursive
15+
$ cd haskell-ide-engine && ./install.hs hie
16+
```
17+
18+
Using cabal:
19+
1120
```bash
1221
$ git clone https://github.com/haskell/haskell-ide-engine --recursive
13-
$ cd haskell-ide-engine && ./install.hs build
22+
$ cd haskell-ide-engine && ./cabal-hie-install hie
1423
```
1524

1625
On Windows, it is advised to either install HIE at the root of the drive, and/or to enable [Win32 Long paths](https://github.com/haskell/haskell-ide-engine#windows-specific-pre-requirements).
1726

27+
Using stack:
28+
29+
```cmd
30+
C:\> git clone https://github.com/haskell/haskell-ide-engine --recursive hie
31+
C:\> cd hie && stack .\install.hs hie
32+
```
33+
34+
Using cabal:
35+
1836
```cmd
1937
C:\> git clone https://github.com/haskell/haskell-ide-engine --recursive hie
20-
C:\> cd hie && stack ./install.hs build
38+
C:\> cd hie && .\cabal-hie-install hie
2139
```
2240

2341
If you experience difficulties, use the instructions at https://github.com/haskell/haskell-ide-engine#installation

0 commit comments

Comments
 (0)