on master help sign in
Add scripts submodule
38414cdpatrick brisbin
.gitmodulesnew file+3
@@ -0,0 +1,3 @@
1+[submodule "scripts"]
2+ path = scripts
3+ url = git://github.com/yesodweb/scripts.git
install-all.shdeleted−48
@@ -1,48 +0,0 @@
1−#!/bin/bash -e
2−
3−# allow a CABAL env var to override
4−CABAL=${CABAL:-cabal}
5−
6−# install testing dependencies
7−$CABAL install HUnit QuickCheck 'hspec >= 0.6.1 && < 0.7'
8−
9−# Note: Ignoring wai-handler-devel, wai-handler-webkit
10−pkgs=( wai
11− wai-test
12− wai-extra
13− warp
14− wai-app-static
15− wai-handler-fastcgi
16− wai-handler-launch
17− wai-handler-scgi
18− warp-static
19− )
20−
21−# install each sub-respository
22−for pkg in "${pkgs[@]}"; do
23− echo "Installing $pkg..."
24−
25− (
26− cd "./$pkg"
27−
28− if [ "$1" = "--clean" ]; then
29− $CABAL clean
30− fi
31−
32− if ! $CABAL configure --ghc-options="-Wall -Werror"; then
33− $CABAL install --only-dependencies
34− $CABAL configure --ghc-options="-Wall -Werror"
35− fi
36− $CABAL build
37−
38− $CABAL configure --enable-tests
39− $CABAL build
40− $CABAL test
41−
42− $CABAL check
43− if [ "$1" != "--fast" ]; then
44− $CABAL haddock --executables
45− fi
46− ./Setup.lhs install
47− )
48−done
scriptsnew file+1

Submodule changed.