Added install-all.sh

This commit is contained in:
Michael Snoyman 2011-07-22 09:08:05 +03:00
parent d0b492397b
commit 5cb8e4a605

12
install-all.sh Executable file
View File

@ -0,0 +1,12 @@
#!/bin/sh
PACKAGES="yesod-core yesod-json yesod-static yesod-persistent yesod-newsfeed yesod-form yesod-auth yesod-sitemap yesod yesod-examples"
CABAL=cabal
for package in $PACKAGES
do
echo Installing $package
cd $package
$CABAL configure --enable-tests && $CABAL build && $CABAL test && ./Setup.lhs install || exit
cd ..
done