aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/README.md b/README.md
index fba02bde..f6dd00d4 100644
--- a/README.md
+++ b/README.md
@@ -50,6 +50,7 @@ Please create issues when you have any problems and pull requests if you have so
To get started you'll need a latest GHC release installed.
+```bash
git clone https://github.com/haskell/haddock.git
cd haddock
cabal sandbox init
@@ -61,6 +62,7 @@ To get started you'll need a latest GHC release installed.
cabal build -j4
# run the test suite
cabal test
+```
If you want to build against `GHC HEAD`, `ghc-head` is the corresponding branch.
Note that it doesn't have to be up to date.