From: Tobias Leich Date: Sun, 1 Nov 2009 19:02:26 +0000 (+0100) Subject: updated the order: pull -> build -> test X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ff1dbad9d486862fd69e4ea41f80fac812a245a8;p=sdlgit%2FSDL_perl.git updated the order: pull -> build -> test --- diff --git a/tools/smokeNsend.pl b/tools/smokeNsend.pl index 9eeec37..aba62fd 100755 --- a/tools/smokeNsend.pl +++ b/tools/smokeNsend.pl @@ -1,8 +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]; system( 'perl', 'Build.PL'); system( 'perl', 'Build'); -system split ' ', "git pull origin $ARGV[2]" if $ARGV[2]; system split ' ', 'prove -l -b --merge --archive sdl.tar.gz'; system split ' ', "perl tools/smolder_smoke_signal --server sdlperl.ath.cx:8080 --username $ARGV[0] --password $ARGV[1] --file sdl.tar.gz --project SDL --architecture $] --platform $^O $ARGV[3]";