From d65e54a7773ed170c779f488e0151e5841a0ee3b Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Wed, 22 Apr 2015 12:20:28 +0300 Subject: [PATCH] Add WIP nightly.sh script --- automated/nightly.sh | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100755 automated/nightly.sh diff --git a/automated/nightly.sh b/automated/nightly.sh new file mode 100755 index 00000000..d0406c4d --- /dev/null +++ b/automated/nightly.sh @@ -0,0 +1,34 @@ +#!/bin/bash + +# Work in progress + +set -e +set -x + +TARGET=nightly +WORKDIR=nightly +PLAN_FILE=current-plan.yaml +BUNDLE_FILE=current.bundle + +cd /home/ubuntu + +mkdir -p cabal ghc $WORKDIR .stackage-curator +rm -f stackage-curator stackage-curator.bz2 +wget https://s3.amazonaws.com/stackage-travis/stackage-curator/stackage-curator.bz2 +bunzip2 stackage-curator.bz2 +chmod +x stackage-curator + +cat >gitconfig <