From 9e58b1685f893cd56d200f2963ffcdc1c21da49e Mon Sep 17 00:00:00 2001 From: Jason van Zyl Date: Fri, 9 Apr 2004 04:27:28 +0000 Subject: [PATCH] script to run the whole shebang git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@162633 13f79535-47bb-0310-9956-ffa450edef68 --- ci.sh | 42 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100755 ci.sh diff --git a/ci.sh b/ci.sh new file mode 100755 index 0000000000..6adf071c98 --- /dev/null +++ b/ci.sh @@ -0,0 +1,42 @@ +#!/bin/sh + +# To run this script on your machine you must set: +# +# MBOOT_HOME +# PATH=$PATH:$MBOOT_HOME/bin +# MAVEN_HOME +# PATH=$PATH:$MAVEN_HOME/bin + +DIR=maven2 +REPO=maven-repo-local + +rm -rf $DIR > /dev/null 2>&1 +rm -rf $REPO > /dev/null 2>&1 +mkdir $DIR +mkdir $REPO + +DATE=`date` +echo "From: jvanzyl@maven.org" > log +echo "To: maven2-user@lists.codehaus.org" >> log +echo "Subject: Maven bootstrap on beaver [$DATE]" >> log +echo "" >> log + +( + ( + cd $DIR + + export CVSROOT=:pserver:anoncvs@cvs.apache.org:/home/cvspublic + + echo "Checking out maven-components ..." + + cvs co maven-components > checkout.log 2>&1 + ) + + ( + cd $DIR/maven-components/maven-core + + ./bootstrap-all.sh + ) +) >> log 2>&1 + +sendmail -t < log