32b7e2df98
--HG-- extra : convert_revision : svn%3A39bc706e-5318-0410-9160-8a85361fbb7c/trunk%402498
20 lines
283 B
Perl
Executable File
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";
|