Skip to content

Commit 7abc3c6

Browse files
committed
README.md: form the ghcid section
1 parent 4b43336 commit 7abc3c6

File tree

1 file changed

+10
-9
lines changed

1 file changed

+10
-9
lines changed

README.md

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -80,15 +80,7 @@ cabal v2-build
8080
cabal v2-repl
8181
```
8282

83-
4. Development status loop with amazing [`ghcid`](https://github.com/ndmitchell/ghcid):
84-
```
85-
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"
86-
```
87-
(optional) To use projects reproducible environment, wrap `ghcid ...` command into a `nix-shell --command ' '`.
88-
89-
For simplicity alias it in your shell.
90-
91-
3. Testing:
83+
4. Testing:
9284

9385
* Default suite:
9486
```
@@ -195,6 +187,15 @@ nix-build \
195187
./result/bin/hnix
196188
```
197189

190+
## Development status loop with amazing [`ghcid`](https://github.com/ndmitchell/ghcid)
191+
192+
```
193+
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"
194+
```
195+
(optional) To use projects reproducible environment, wrap `ghcid ...` command into a `nix-shell --command ' '`.
196+
197+
For simplicity alias the command in your shell.
198+
198199

199200
## Using the HNix REPL
200201

0 commit comments

Comments
 (0)