From 7cf3cb9ded296166fde2515432057989eefcd43e Mon Sep 17 00:00:00 2001 From: Anton-Latukha Date: Wed, 30 Sep 2020 16:17:34 +0300 Subject: [PATCH] README.md: make text alignment homogenous Alignment of one command and maybe one line - looks weird. Lets make it all homogenous. --- README.md | 41 +++++++++++++++++++++-------------------- 1 file changed, 21 insertions(+), 20 deletions(-) diff --git a/README.md b/README.md index c9a059d..859ac1b 100644 --- a/README.md +++ b/README.md @@ -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): ```