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

Commit 9f87ce8

Browse files
committed
Update shake.yaml to lts-13.0
1 parent 0c70fb9 commit 9f87ce8

File tree

2 files changed

+35
-9
lines changed

2 files changed

+35
-9
lines changed

README.md

Lines changed: 34 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -154,20 +154,20 @@ You can install an specific version or [all available GHC versions](#install-all
154154

155155
#### Install a specific GHC version 8.2.1 - 8.6.3
156156

157-
We will use the `shake` tools here to wrap `stack install`. The preferred installation mechanism is via `./Shakefile.hs`, as it makes sure the repo is synced, installs the required cabal libraries if missing, and makes copies of the executables with suffixes to be able to tell them apart.
157+
We will use the `make` tools here to wrap `stack install`. The preferred installation mechanism is via `make`, as it makes sure the repo is synced, installs the required cabal libraries if missing, and makes copies of the executables with suffixes to be able to tell them apart.
158158

159159
Install **Nightly** (and hoogle docs):
160160

161161
```bash
162-
./Shakefile.hs hie-8.6.3
163-
./Shakefile.hs build-doc-8.6.3
162+
make hie-8.6.3
163+
make build-doc-8.6.3
164164
```
165165

166166
Install **LTS** (and hoogle docs):
167167

168168
```bash
169-
./Shakefile.hs hie-8.4.4
170-
./Shakefile.hs build-doc-8.4.4
169+
make hie-8.4.4
170+
make build-doc-8.4.4
171171
```
172172

173173
This step can take more than 30 minutes, so grab a coffee and please be patient!
@@ -200,10 +200,10 @@ This will:
200200
* name them as expected by the VS Code plugin
201201
* build local hoogle docs for each version
202202

203-
For this you need the `shake` tool. Use the command:
203+
For this you need the `make` tool (on Windows, see the further advice below). Use the command:
204204

205205
```bash
206-
./Shakefile.hs build-all
206+
make build-all
207207
```
208208

209209
Then add
@@ -234,6 +234,32 @@ stack install cabal-install
234234
cabal update
235235
```
236236

237+
#### Install *all* available GHC versions
238+
239+
*Warning*: Requires 20+ GB of space and potentially more than 2 hours to install, so please be patient!
240+
241+
This will:
242+
243+
* install all supported GHC versions (8.2.1 - 8.6.3)
244+
* name them as expected by the VS Code plugin
245+
* build local hoogle docs for each version
246+
247+
`make` doesn't work on Windows due to several UNIX-specific things, such
248+
as the `cp` command or extensionless executable names. Instead, a PowerShell
249+
script is provided specifically for this purpose:
250+
251+
**PowerShell:**
252+
253+
```
254+
./build-all.ps1
255+
```
256+
257+
**cmd.exe:**
258+
259+
```
260+
powershell -ExecutionPolicy RemoteSigned -c ./build-all.ps1
261+
```
262+
237263
#### Long paths
238264

239265
In order to avoid problems with long paths on Windows you can do the following:
@@ -252,7 +278,7 @@ Download the pre-built binaries from the [releases page](https://github.com/hask
252278
ln -s hie-bin-dir/hie* /usr/local/bin/
253279
```
254280

255-
Alternatively, you can install from source with `./Shakefile.hs build`.
281+
Alternatively, you can install from source with `make build`.
256282

257283
### Installation with Nix
258284

shake.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# Used to provide a different environment for the shake build script
2-
resolver: nightly-2018-12-01 # GHC 8.6.2
2+
resolver: lts-13.0 # GHC 8.6.2
33
packages:
44
- .
55

0 commit comments

Comments
 (0)