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

Commit 2d144e9

Browse files
authored
Merge pull request #1044 from Anrock/rename-shakefile-to-install
Rename Shakefile.hs to install.hs
2 parents 2822b1f + cb42c29 commit 2d144e9

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

README.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -268,12 +268,12 @@ Uses the [shake](https://shakebuild.com/) build system for predictable builds.
268268
The build script is platform independent and the only prerequisites are that `git` and `stack` are installed. The dependency on `make` and other linux specific commands has been dropped.
269269

270270
Note, on first invocation of the build script, a GHC is being installed for execution. However, if you build HIE for every GHC, no GHC is downloaded twice.
271-
The GHC used for the `Shakefile.hs` can be adjusted in `shake.yaml` by using a different resolver.
271+
The GHC used for the `install.hs` can be adjusted in `shake.yaml` by using a different resolver.
272272

273273
Available commands can be seen with:
274274

275275
```bash
276-
stack ./Shakefile.hs help
276+
stack ./install.hs help
277277
```
278278

279279
Remember, this will take time to download a Stackage-LTS and an appropriate GHC. However, afterwards all commands should work as expected.
@@ -283,15 +283,15 @@ Remember, this will take time to download a Stackage-LTS and an appropriate GHC.
283283
Install **Nightly** (and hoogle docs):
284284

285285
```bash
286-
stack ./Shakefile.hs hie-8.6.3
287-
stack ./Shakefile.hs build-doc-8.6.3
286+
stack ./install.hs hie-8.6.3
287+
stack ./install.hs build-doc-8.6.3
288288
```
289289

290290
Install **LTS** (and hoogle docs):
291291

292292
```bash
293-
stack ./Shakefile.hs hie-8.4.4
294-
stack ./Shakefile.hs build-doc-8.4.4
293+
stack ./install.hs hie-8.4.4
294+
stack ./install.hs build-doc-8.4.4
295295
```
296296

297297
#### Install *all* available GHC versions with Shake
@@ -305,7 +305,7 @@ This will:
305305
* build local hoogle docs for each version
306306

307307
```bash
308-
stack ./Shakefile.hs build-all
308+
stack ./install.hs build-all
309309
```
310310

311311
Then add

Shakefile.hs renamed to install.hs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ helpMessage = do
172172
let out = liftIO . putStrLn
173173
out ""
174174
out "Usage:"
175-
out " stack Shakefile.hs <target>"
175+
out " stack install.hs <target>"
176176
out ""
177177
out "Targets:"
178178
out

0 commit comments

Comments
 (0)