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