From: Kartik Thakore Date: Tue, 10 Nov 2009 18:39:59 +0000 (-0500) Subject: added new feature to smokeNsend to pull from main v.s forked repo X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=234beaef2387ef7ff087fc86dca5352c71f4fc80;p=sdlgit%2FSDL_perl.git added new feature to smokeNsend to pull from main v.s forked repo --- diff --git a/tools/smokeNsend.pl b/tools/smokeNsend.pl index 6967c7f..2cc5f79 100755 --- a/tools/smokeNsend.pl +++ b/tools/smokeNsend.pl @@ -1,7 +1,8 @@ #!perl # -die "Usage: username password [git-branch] [extra options for smolder_smoke_signal]. \n Found @ARGV args" if $#ARGV < 1; -system split ' ', "git pull origin $ARGV[2]" if $ARGV[2]; +die "Usage: username password [git-branch] [toggle for main repo] [extra options for smolder_smoke_signal]. \n Found @ARGV args" if $#ARGV < 1; +system split ' ', "git pull origin $ARGV[2]" if ( $ARGV[2] && !($ARGV[3])); +system split ' ', "git pull git://github.com/kthakore/SDL_perl.git $ARGV[2]" if $ARGV[3]; system( 'perl', 'Build.PL'); system( 'perl', 'Build'); system split ' ', 'prove -l -b -m --archive sdl.tar.gz';