on master help sign in
automatically install dependencies
commit0059696cdf0464d0543f04d7d313103abd0f59eb authorGreg Weber <greg@gregweber.info> dateTue 2 Aug 2011, 07:55 (15 years ago) parent09149c2
1 file changed+3−1
install-all.sh+3−1
install-all.sh+3−1
@@ -8,6 +8,8 @@ for package in $PACKAGES
88do
99 echo Installing $package
1010 cd $package
11− $CABAL configure --enable-tests && $CABAL build && $CABAL test && ./Setup.lhs install || exit
11+ ($CABAL configure --enable-tests ||
12+ ($CABAL install --only-dependencies && $CABAL configure --enable-tests)
13+ ) && $CABAL build && $CABAL test && ./Setup.lhs install || exit
1214 cd ..
1315done