on warp/0.4.3.1 help sign in
typeable/wai/install-all.sh
14 lines 532 B history raw
1#!/bin/sh
3CABAL=cabal
4# Note: Ignoring wai-handler-devel, wai-handler-webkit
5PACKAGES="wai wai-test wai-extra warp wai-app-static wai-handler-fastcgi wai-handler-launch wai-handler-scgi warp-static"
6for package in $PACKAGES
7do
8 echo Installing $package
9 cd $package
10 ($CABAL configure --enable-tests ||
11 ($CABAL update && $CABAL install HUnit QuickCheck hspec && $CABAL install --only-dependencies && $CABAL configure --enable-tests)
12 ) && $CABAL build && $CABAL test && ./Setup.lhs install || exit
13 cd ..
14done