add cabal command to install build deps

This commit is contained in:
Joey Hess 2012-04-13 11:37:49 -04:00
parent 3642c72320
commit befda6f9d2
2 changed files with 2 additions and 0 deletions

View file

@ -6,6 +6,7 @@ git clone git://git-annex.branchable.com/ git-annex
cd git-annex
git checkout ghc 7.0
cabal update
cabal install --only-dependencies
cabal configure
cabal build
cabal install --bindir=$HOME/bin

View file

@ -10,6 +10,7 @@ But maybe you want something newer (or older). Then [[download]] the version
you want, and use cabal as follows inside its source tree:
cabal update
cabal install --only-dependencies
cabal configure
cabal build
cabal install --bindir=$HOME/bin