README.md: make text alignment homogenous

Alignment of one command and maybe one line - looks weird.
Lets make it all homogenous.
This commit is contained in:
Anton-Latukha 2020-09-30 16:17:34 +03:00
parent a2cba9ea59
commit 7cf3cb9ded
No known key found for this signature in database
GPG Key ID: 3D84C07E91802E41
1 changed files with 21 additions and 20 deletions

View File

@ -45,32 +45,33 @@ cd hnix
### Development with Cabal
1. (Optional), to enter and work in the reproducible Nix environemt:
```
nix-shell
```
Nix environment currenly defaults to the GHC 8.8, which is the default in Nixpkgs, drawback of it - compilation of `hnix` executable is enabled only for GHC 8.10.
```
nix-shell
```
Nix environment currenly defaults to the GHC 8.8, which is the default in Nixpkgs, drawback of it - compilation of `hnix` executable is enabled only for GHC 8.10.
2. Building:
```
cabal v2-configure --enable-tests
cabal v2-build
```
```
cabal v2-configure
cabal v2-build
```
3. Testing:
* Default suite:
```
cabal v2-test
```
* All available tests:
```
env ALL_TESTS=yes cabal v2-test
```
* Default suite:
```
cabal v2-test
```
* Selected (list of tests is in `tests/Main.hs`):
```
env NIXPKGS_TESTS=yes PRETTY_TESTS=1 cabal v2-test
```
* All available tests:
```
env ALL_TESTS=yes cabal v2-test
```
* Selected (list of tests is in `tests/Main.hs`):
```
env NIXPKGS_TESTS=yes PRETTY_TESTS=1 cabal v2-test
```
Run built binary with Cabal (`--` is for separation between `cabal` & `hnix` args):
```