doc: suggest cabal installing alex & happy also

These tools are needed for some deps, eg pretty-show and
language-javascript, and may not have already been installed.
Mentioning them explicitly may reduce a some installation hassles.
This commit is contained in:
Simon Michael 2014-12-03 13:43:33 -08:00
parent e8efb55eb4
commit 73eecb13de

View File

@ -73,6 +73,7 @@ Use cabal
## I want to build the [latest release](release-notes.html) with [GHC](http://haskell.org/ghc) and [cabal](http://haskell.org/cabal/download.html) ## I want to build the [latest release](release-notes.html) with [GHC](http://haskell.org/ghc) and [cabal](http://haskell.org/cabal/download.html)
`cabal install alex happy` (if you don't already have these in your path)\
`cabal sandbox init; cabal update; cabal install hledger-web`\ `cabal sandbox init; cabal update; cabal install hledger-web`\
<!-- [cabal install guide](cabal-install.html) --> <!-- [cabal install guide](cabal-install.html) -->
@ -82,5 +83,6 @@ The [Installation Guide](installing.html) describes how to install using cabal i
## I want to build the [latest development code](http://hledger.org/code) ## I want to build the [latest development code](http://hledger.org/code)
`cabal install alex happy` (if you don't already have these in your path)\
`git clone https://github.com/simonmichael/hledger; cd hledger; make sandbox install` `git clone https://github.com/simonmichael/hledger; cd hledger; make sandbox install`