yesod/install-all.sh
2011-08-18 17:59:25 +03:00

16 lines
400 B
Bash
Executable File

#!/bin/sh
CABAL=cabal
# install testing dependencies
$CABAL install HUnit QuickCheck hspec
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 build && $CABAL test && ./Setup.lhs install || exit
cd ..
done