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

Commit f1f0a79

Browse files
committed
Merge Window-specific build-all section to common one
1 parent 92aff8a commit f1f0a79

File tree

1 file changed

+15
-24
lines changed

1 file changed

+15
-24
lines changed

README.md

Lines changed: 15 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -203,47 +203,38 @@ This will:
203203
* name them as expected by the VS Code plugin
204204
* build local hoogle docs for each version
205205

206-
For this you need the `make` tool (on Windows, see the further advice below). Use the command:
206+
On non-Windows platforms use the command:
207207

208208
```bash
209209
make build-all
210210
```
211211

212-
Then add
213-
214-
```json
215-
"languageServerHaskell.useCustomHieWrapper": true,
216-
"languageServerHaskell.useCustomHieWrapperPath": "hie-wrapper",
217-
```
218-
219-
to VS Code user settings.
220-
221-
#### Install *all* available GHC versions
222-
223-
*Warning*: Requires 20+ GB of space and potentially more than 2 hours to install, so please be patient!
224-
225-
This will:
226-
227-
* install all supported GHC versions (8.2.1 - 8.6.3)
228-
* name them as expected by the VS Code plugin
229-
* build local hoogle docs for each version
230-
231-
`make` doesn't work on Windows due to several UNIX-specific things, such
232-
as the `cp` command or extensionless executable names. Instead, a PowerShell
233-
script is provided specifically for this purpose:
234-
212+
On Windows use:
235213
**PowerShell:**
236214

237215
```
238216
./build-all.ps1
239217
```
240218

219+
or
220+
241221
**cmd.exe:**
242222

243223
```
244224
powershell -ExecutionPolicy RemoteSigned -c ./build-all.ps1
245225
```
246226

227+
228+
Then add
229+
230+
```json
231+
"languageServerHaskell.useCustomHieWrapper": true,
232+
"languageServerHaskell.useCustomHieWrapperPath": "hie-wrapper",
233+
```
234+
235+
to VS Code user settings.
236+
237+
247238
### Installation on macOS
248239

249240
Download the pre-built binaries from the [releases page](https://github.com/haskell/haskell-ide-engine/releases), and copy/symlink them into `/usr/local/bin` (or somewhere else in your $PATH):

0 commit comments

Comments
 (0)