Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

release-all.sh

  • Loading branch information...
commit af0618e13e57ca784dcfc7478a7ec23b6f33352d 1 parent a45988f
@snoyberg authored
Showing with 22 additions and 7 deletions.
  1. +1 −7 install-all.sh
  2. +7 −0 package-list.sh
  3. +14 −0 release-all.sh
View
8 install-all.sh
@@ -6,13 +6,7 @@ CABAL=${CABAL:-cabal}
# install testing dependencies
$CABAL install HUnit QuickCheck hspec
-pkgs=( xml-conduit
- uri-conduit
- xml2html
- xml-hamlet
- xml-catalog
- )
- # xpath
+source package-list.sh
# install each sub-respository
for pkg in "${pkgs[@]}"; do
View
7 package-list.sh
@@ -0,0 +1,7 @@
+pkgs=( xml-conduit
+ uri-conduit
+ xml2html
+ xml-hamlet
+ xml-catalog
+ )
+ # xpath
View
14 release-all.sh
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.