README.md: form the ghcid section
This commit is contained in:
parent
4b4333602e
commit
7abc3c6ece
19
README.md
19
README.md
|
@ -80,15 +80,7 @@ cabal v2-build
|
||||||
cabal v2-repl
|
cabal v2-repl
|
||||||
```
|
```
|
||||||
|
|
||||||
4. Development status loop with amazing [`ghcid`](https://github.com/ndmitchell/ghcid):
|
4. Testing:
|
||||||
```
|
|
||||||
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:
|
|
||||||
|
|
||||||
* Default suite:
|
* Default suite:
|
||||||
```
|
```
|
||||||
|
@ -195,6 +187,15 @@ nix-build \
|
||||||
./result/bin/hnix
|
./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
|
## Using the HNix REPL
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue