Permalink
Browse files

Updated scripts

  • Loading branch information...
1 parent ca4ae25 commit 65e96abe2a0f65924321ef39104280e672bd52b5 @snoyberg committed Jan 31, 2012
Showing with 23 additions and 9 deletions.
  1. +2 −9 install-all.sh
  2. +7 −0 package-list.sh
  3. +14 −0 release-all.sh
View
@@ -1,18 +1,11 @@
-#!/bin/bash -e
-
+#!/bin/bash -e
# allow a CABAL env var to override
CABAL=${CABAL:-cabal}
# install testing dependencies
$CABAL install HUnit QuickCheck hspec
-pkgs=( conduit
- attoparsec-conduit
- blaze-builder-conduit
- filesystem-conduit
- zlib-conduit
- network-conduit
- )
+source package-list.sh
# install each sub-respository
for pkg in "${pkgs[@]}"; do
View
@@ -0,0 +1,7 @@
+pkgs=( conduit
+ attoparsec-conduit
+ blaze-builder-conduit
+ filesystem-conduit
+ zlib-conduit
+ network-conduit
+ )
View
@@ -0,0 +1,14 @@
+#!/bin/bash -e
+
+source package-list.sh
+
+for pkg in "${pkgs[@]}"
+do
+ (
+ cd "./$pkg"
+ rm -f dist/*.gz
+ cabal check
+ cabal sdist
+ mv dist/*.gz ..
+ )
+done

0 comments on commit 65e96ab

Please sign in to comment.