sourcemod/tools/buildbot/startbuild.pl
David Anderson 32b7e2df98 startbuild is now a direct pipe.
--HG--
extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402498
2008-09-06 09:32:12 +00:00

20 lines
283 B
Perl
Executable File

#!/usr/bin/perl
use File::Basename;
my ($myself, $path) = fileparse($0);
chdir($path);
chdir('..');
chdir('..');
my ($cmd, $output);
$cmd = 'tools/builder/builder.exe build.cfg 2>&1';
if ($^O eq "linux")
{
$cmd = 'mono ' . $cmd;
}
system($cmd) or die "Build failed: $!\n";