[Smolder Tools] Gets platform and architecture automatically. Also can give git branc...
[sdlgit/SDL_perl.git] / tools / smokeNsend.pl
1 #!perl
2 #
3 die "Usage: username password [git-branch] [extra options for smolder_smoke_signal]. \n Found @ARGV args" if $#ARGV < 1;
4 system split ' ', "git pull origin $ARGV[2]" if $ARGV[2];
5 system split ' ', 'prove -l -b --merge --archive sdl.tar.gz';
6 system split ' ', "tools/smolder_smoke_signal 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]";