update install-all.sh for testing dependencies
This commit is contained in:
parent
aced8dc8a6
commit
ee031c2ad7
@ -1,14 +1,14 @@
|
||||
#!/bin/sh
|
||||
|
||||
PACKAGES="yesod-core yesod-json yesod-static yesod-persistent yesod-newsfeed yesod-form yesod-auth yesod-sitemap yesod"
|
||||
CABAL=cabal
|
||||
|
||||
PACKAGES="yesod-core yesod-json yesod-static yesod-persistent yesod-newsfeed yesod-form yesod-auth yesod-sitemap yesod"
|
||||
for package in $PACKAGES
|
||||
do
|
||||
echo Installing $package
|
||||
cd $package
|
||||
($CABAL configure --enable-tests ||
|
||||
($CABAL update && $CABAL install --only-dependencies && $CABAL configure --enable-tests)
|
||||
($CABAL update && $CABAL install HUnit QuickCheck hspec && $CABAL install --only-dependencies && $CABAL configure --enable-tests)
|
||||
) && $CABAL build && $CABAL test && ./Setup.lhs install || exit
|
||||
cd ..
|
||||
done
|
||||
|
||||
Loading…
Reference in New Issue
Block a user