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
{{ message }}
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+57Lines changed: 57 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -26,6 +26,7 @@ we talk to clients.__
26
26
-[macOS](#installation-on-macos)
27
27
-[Nix](#installation-with-nix)
28
28
-[ArchLinux](#installation-on-archlinux)
29
+
-[Shake](#installation-with-shake)
29
30
-[Configuration](#configuration)
30
31
-[Editor Integration](#editor-integration)
31
32
- Using HIE with [VS Code](#using-hie-with-vs-code), [Sublime Text](#using-hie-with-sublime-text), [Vim/Neovim](#using-hie-with-vim-or-neovim), [Atom](#using-hie-with-atom), [Oni](#using-hie-with-oni), [Emacs](#using-hie-with-emacs), [Spacemacs](#using-hie-with-spacemacs) or [Spacemacs+Nix](#using-hie-with-spacemacs-on-nix-based-projects)
@@ -295,6 +296,62 @@ Using [Aura](https://github.com/aurapm/aura):
295
296
# aura -A haskell-ide-engine-git
296
297
```
297
298
299
+
### Installation with Shake
300
+
301
+
Experimental build script for HIE. Feedback is appreciated.
302
+
Uses the [shake](https://shakebuild.com/) build system for predictable builds.
303
+
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.
304
+
305
+
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.
306
+
The GHC used for the `Shakefile.hs` can be adjusted in `shake.yaml` by using a different resolver.
307
+
308
+
Available commands can be seen with:
309
+
310
+
```bash
311
+
stack ./Shakefile.hs help
312
+
```
313
+
314
+
Remember, this will take time to download a Stackage-LTS and an appropriate GHC. However, afterwards all commands should work as expected.
315
+
316
+
#### Install specific GHC Version with Shake
317
+
318
+
Install **Nightly** (and hoogle docs):
319
+
320
+
```bash
321
+
stack ./Shakefile.hs hie-8.6.3
322
+
stack ./Shakefile.hs build-doc-8.6.3
323
+
```
324
+
325
+
Install **LTS** (and hoogle docs):
326
+
327
+
```bash
328
+
stack ./Shakefile.hs hie-8.4.4
329
+
stack ./Shakefile.hs build-doc-8.4.4
330
+
```
331
+
332
+
#### Install *all* available GHC versions with Shake
333
+
334
+
*Warning*: Requires 20+ GB of space and potentially more than 2 hours to install, so please be patient!
335
+
336
+
This will:
337
+
338
+
* install all supported GHC versions (8.2.1 - 8.6.3)
0 commit comments