aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorŁukasz Hanuszczak <lukasz.hanuszczak@gmail.com>2015-08-25 18:04:47 +0200
committerŁukasz Hanuszczak <lukasz.hanuszczak@gmail.com>2015-08-25 18:04:47 +0200
commite6fd9fc7f23a1be317ad045da5f8248866f80308 (patch)
treea14e1692f219a4748f3e4935b0f1dfa92c49653a /README.md
parentf8764c73ecc8b226aaa00672f48eb7c0fc7b5cb1 (diff)
Fix Markdown formatting of README file.
Diffstat (limited to 'README.md')
-rw-r--r--README.md38
1 files changed, 19 insertions, 19 deletions
diff --git a/README.md b/README.md
index 367b70e8..160ee995 100644
--- a/README.md
+++ b/README.md
@@ -46,7 +46,7 @@ format.
Please create issues when you have any problems and pull requests if you have some code.
-###### Hacking
+##### Hacking
To get started you'll need a latest GHC release installed.
@@ -59,30 +59,30 @@ Clone the repository:
and then proceed using your favourite build tool.
-####### Using Cabal sandboxes
+###### Using Cabal sandboxes
```bash
- cabal sandbox init
- cabal sandbox add-source haddock-library
- cabal sandbox add-source haddock-api
- cabal sandbox add-source haddock-test
- # adjust -j to the number of cores you want to use
- cabal install -j4 --dependencies-only --enable-tests
- cabal configure --enable-tests
- cabal build -j4
- # run the test suite
- export HADDOCK_PATH="dist/build/haddock/haddock"
- cabal test
+cabal sandbox init
+cabal sandbox add-source haddock-library
+cabal sandbox add-source haddock-api
+cabal sandbox add-source haddock-test
+# adjust -j to the number of cores you want to use
+cabal install -j4 --dependencies-only --enable-tests
+cabal configure --enable-tests
+cabal build -j4
+# run the test suite
+export HADDOCK_PATH="dist/build/haddock/haddock"
+cabal test
```
-####### Using Stack
+###### Using Stack
```bash
- stack init
- stack install
- # run the test suite
- export HADDOCK_PATH="$HOME/.local/bin/haddock"
- stack test
+stack init
+stack install
+# run the test suite
+export HADDOCK_PATH="$HOME/.local/bin/haddock"
+stack test
```