sourcemod/tools/buildbot/bootstrap.pl

19 lines
395 B
Perl
Raw Normal View History

#!/usr/bin/perl
require 'helpers.pm';
chdir(Build::PathFormat('../builder'));
if ($^O eq "linux")
{
Build::Command('make clean');
Build::Command('make');
}
else
{
Build::Command($ENV{'MSVC7'} . ' /Rebuild Release builder.csproj');
Build::Command('move ' . Build::PathFormat('bin/Release/builder.exe') . ' .');
}
die "Unable to build builder tool!\n" unless -e 'builder.exe';