1
0
mirror of https://github.com/alliedmodders/metamod-source.git synced 2024-12-14 02:23:53 +01:00
HLMetaModOfficial/support/buildbot/startbuild.pl
Scott Ehlert 73e2daec56 Converted build system to AMBuild (bug 4403, r=dvander).
--HG--
rename : support/pushbuild.txt => pushbuild.txt
2010-05-14 00:34:36 -05:00

28 lines
378 B
Perl
Executable File

#!/usr/bin/perl
# vim: set ts=2 sw=2 tw=99 noet:
use File::Basename;
my ($myself, $path) = fileparse($0);
chdir($path);
require 'helpers.pm';
chdir('../../../OUTPUT');
if ($^O eq "linux" || $^O eq "darwin") {
system("python3.1 build.py 2>&1");
} else {
system("C:\\Python31\\python.exe build.py 2>&1");
}
if ($? != 0)
{
die "Build failed: $!\n";
}
else
{
exit(0);
}