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

Commit e016450

Browse files
authored
Merge pull request #1542 from jneira/win-install
Add cmd script to install with cabal
2 parents b7ce8b8 + d388bdf commit e016450

File tree

3 files changed

+9
-0
lines changed

3 files changed

+9
-0
lines changed

README.md

+6
Original file line numberDiff line numberDiff line change
@@ -218,6 +218,12 @@ The install-script can be invoked via `cabal` instead of `stack` with the comman
218218
cabal v2-run ./install.hs --project-file install/shake.project <target>
219219
```
220220

221+
or using the existing alias script
222+
223+
```bash
224+
./cabal-hie-install <target>
225+
```
226+
221227
Running the script with cabal on windows requires a cabal version greater or equal to `3.0.0.0`.
222228

223229
Unfortunately, it is still required to have `stack` installed so that the install-script can locate the `local-bin` directory (on Linux `~/.local/bin`) and copy the `hie` binaries to `hie-x.y.z`, which is required for the `hie-wrapper` to function as expected. There are plans to remove this requirement and let users build hie only with one build tool or another.

cabal-hie-install

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
#!/bin/sh
2+
cabal v2-run ./install.hs --project-file install/shake.project $@

cabal-hie-install.cmd

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
@cabal v2-run .\install.hs --project-file=install\shake.project %*

0 commit comments

Comments
 (0)