add cabal update to install steps

This commit is contained in:
Greg Weber 2011-08-09 15:20:17 -07:00
parent ce3c909218
commit c59cccb175
2 changed files with 3 additions and 1 deletions

View File

@ -11,6 +11,8 @@
## Installing the latest development version from github
cabal update
REPOS="hamlet persistent wai yesod"
for repo in $REPOS
do

View File

@ -8,7 +8,7 @@ do
echo Installing $package
cd $package
($CABAL configure --enable-tests ||
($CABAL install --only-dependencies && $CABAL configure --enable-tests)
($CABAL update && $CABAL install --only-dependencies && $CABAL configure --enable-tests)
) && $CABAL build && $CABAL test && ./Setup.lhs install || exit
cd ..
done