on master help sign in
install-all.sh
commit0f22f14078001d1606836873c46277569d5476ba authorMichael Snoyman <michael@snoyman.com> dateFri 22 Jul 2011, 16:59 (15 years ago) parent027a09e
6 files changed+29−5
.gitignore+2−1 install-all.sh+13 wai-handler-launch/Setup.hs−2 wai-handler-launch/Setup.lhs+7 warp-static/Setup.hs−2 warp-static/Setup.lhs+7
.gitignore+2−1
@@ -1 +1,2 @@
1−/dist/
1+dist/
2+*.swp
install-all.shnew file+13
@@ -0,0 +1,13 @@
1+#!/bin/sh
2+
3+# Note: Ignoring wai-handler-devel, wai-handler-webkit
4+PACKAGES="wai wai-test wai-extra wai-app-static wai-handler-fastcgi wai-handler-launch wai-handler-scgi warp warp-static"
5+CABAL=cabal
6+
7+for package in $PACKAGES
8+do
9+ echo Installing $package
10+ cd $package
11+ $CABAL configure --enable-tests && $CABAL build && $CABAL test && ./Setup.lhs install || exit
12+ cd ..
13+done
wai-handler-launch/Setup.hsdeleted−2
@@ -1,2 +0,0 @@
1−import Distribution.Simple
2−main = defaultMain
wai-handler-launch/Setup.lhsnew file+7
@@ -0,0 +1,7 @@
1+#!/usr/bin/env runhaskell
2+
3+> module Main where
4+> import Distribution.Simple
5+
6+> main :: IO ()
7+> main = defaultMain
warp-static/Setup.hsdeleted−2
@@ -1,2 +0,0 @@
1−import Distribution.Simple
2−main = defaultMain
warp-static/Setup.lhsnew file+7
@@ -0,0 +1,7 @@
1+#!/usr/bin/env runhaskell
2+
3+> module Main where
4+> import Distribution.Simple
5+
6+> main :: IO ()
7+> main = defaultMain