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

View file

@ -45,32 +45,33 @@ cd hnix
### Development with Cabal ### Development with Cabal
1. (Optional), to enter and work in the reproducible Nix environemt: 1. (Optional), to enter and work in the reproducible Nix environemt:
``` ```
nix-shell 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 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: 2. Building:
``` ```
cabal v2-configure --enable-tests cabal v2-configure
cabal v2-build cabal v2-build
``` ```
3. Testing: 3. Testing:
* Default suite:
```
cabal v2-test
```
* All available tests: * Default suite:
``` ```
env ALL_TESTS=yes cabal v2-test cabal v2-test
``` ```
* Selected (list of tests is in `tests/Main.hs`): * All available tests:
``` ```
env NIXPKGS_TESTS=yes PRETTY_TESTS=1 cabal v2-test 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): Run built binary with Cabal (`--` is for separation between `cabal` & `hnix` args):
``` ```