README.md: form the ghcid section

This commit is contained in:
Anton-Latukha 2020-09-30 20:37:59 +03:00 committed by Anton Latukha
parent 4b4333602e
commit 7abc3c6ece
1 changed files with 10 additions and 9 deletions

View File

@ -80,15 +80,7 @@ cabal v2-build
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 in your shell.
3. Testing:
4. Testing:
* Default suite:
```
@ -195,6 +187,15 @@ nix-build \
./result/bin/hnix
```
## 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 the command in your shell.
## Using the HNix REPL