README.md: add how to use GHCID with nix-shell also
This commit is contained in:
parent
cc468af340
commit
471f4d4277
|
@ -64,6 +64,14 @@ cabal v2-build
|
||||||
cabal v2-repl
|
cabal v2-repl
|
||||||
```
|
```
|
||||||
|
|
||||||
|
4. Development status loop with amazing [`ghcid`](https://github.com/ndmitchell/ghcid):
|
||||||
|
```
|
||||||
|
ghcid --command="cabal v2-repl --repl-options=-fno-code --repl-options=-fno-break-on-exception --repl-options=-fno-break-on-error --repl-options=-v1 --repl-options=-ferror-spans --repl-options=-j"
|
||||||
|
```
|
||||||
|
(optional) To use projects reproducible environment, wrap `ghcid ...` command into a `nix-shell --command ' '`.
|
||||||
|
|
||||||
|
For simplicity alias it for your shell.
|
||||||
|
|
||||||
3. Testing:
|
3. Testing:
|
||||||
|
|
||||||
* Default suite:
|
* Default suite:
|
||||||
|
|
Loading…
Reference in a new issue