From e6fd9fc7f23a1be317ad045da5f8248866f80308 Mon Sep 17 00:00:00 2001 From: Ɓukasz Hanuszczak Date: Tue, 25 Aug 2015 18:04:47 +0200 Subject: Fix Markdown formatting of README file. --- README.md | 38 +++++++++++++++++++------------------- 1 file 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 ``` -- cgit v1.2.3