add cabal update to install steps
This commit is contained in:
parent
ce3c909218
commit
c59cccb175
@ -11,6 +11,8 @@
|
|||||||
|
|
||||||
## Installing the latest development version from github
|
## Installing the latest development version from github
|
||||||
|
|
||||||
|
cabal update
|
||||||
|
|
||||||
REPOS="hamlet persistent wai yesod"
|
REPOS="hamlet persistent wai yesod"
|
||||||
for repo in $REPOS
|
for repo in $REPOS
|
||||||
do
|
do
|
||||||
|
|||||||
@ -8,7 +8,7 @@ do
|
|||||||
echo Installing $package
|
echo Installing $package
|
||||||
cd $package
|
cd $package
|
||||||
($CABAL configure --enable-tests ||
|
($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
|
) && $CABAL build && $CABAL test && ./Setup.lhs install || exit
|
||||||
cd ..
|
cd ..
|
||||||
done
|
done
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user