avoid cabal update every time
This commit is contained in:
parent
140cb56b2e
commit
e506070646
1 changed files with 4 additions and 2 deletions
|
@ -21,8 +21,10 @@ withcygpreferred () {
|
|||
# Install haskell dependencies.
|
||||
# cabal install is not run in cygwin, because we don't want configure scripts
|
||||
# for haskell libraries to link them with the cygwin library.
|
||||
cabal update || true
|
||||
cabal install --only-dependencies || true
|
||||
if ! cabal install --only-dependencies; then
|
||||
cabal update || true
|
||||
cabal install --only-dependencies
|
||||
fi
|
||||
|
||||
# Build git-annex
|
||||
if [ ! -e "dist/setup-config" ]; then
|
||||
|
|
Loading…
Add table
Reference in a new issue