startbuild should use new build invocation now.
This commit is contained in:
parent
6e264b6eea
commit
54a7aa1116
@ -51,8 +51,6 @@ if ($reconf) {
|
||||
print "$result\n";
|
||||
if ($? == -1) {
|
||||
die('Could not configure!');
|
||||
} elsif ($? >> 8 != 0) {
|
||||
die('Could not configure!');
|
||||
}
|
||||
}
|
||||
|
||||
@ -68,3 +66,6 @@ sub IsNewer
|
||||
return $mtime > $time;
|
||||
}
|
||||
|
||||
exit(0);
|
||||
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
#!/usr/bin/perl
|
||||
# vim: set ts=2 sw=2 tw=99 noet:
|
||||
|
||||
use File::Basename;
|
||||
|
||||
@ -7,33 +8,28 @@ chdir($path);
|
||||
|
||||
require 'helpers.pm';
|
||||
|
||||
chdir('..');
|
||||
chdir('..');
|
||||
chdir('../../OUTPUT');
|
||||
|
||||
my ($cmd, $output);
|
||||
|
||||
$cmd = Build::PathFormat('tools/builder/builder.exe') . ' build.cfg'; # 2>&1';
|
||||
|
||||
if ($^O eq "linux")
|
||||
{
|
||||
$cmd = 'mono ' . $cmd;
|
||||
if ($^O eq "linux") {
|
||||
system("python3.1 build.py");
|
||||
} else {
|
||||
system("C:\\Python31\\python.exe build.py");
|
||||
}
|
||||
|
||||
system($cmd);
|
||||
|
||||
if ($? == -1)
|
||||
{
|
||||
die "Build failed: $!\n";
|
||||
die "Build failed: $!\n";
|
||||
}
|
||||
elsif ($^O eq "linux" and $? & 127)
|
||||
{
|
||||
die "Build died :(\n";
|
||||
die "Build died :(\n";
|
||||
}
|
||||
elsif ($? >> 8 != 0)
|
||||
{
|
||||
die "Build failed with exit code: " . ($? >> 8) . "\n";
|
||||
die "Build failed with exit code: " . ($? >> 8) . "\n";
|
||||
}
|
||||
else
|
||||
{
|
||||
exit(0);
|
||||
exit(0);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user