tools/buildbot/bootstrap.pl
changeset 2253 83e8b248e3c9
parent 2252 0b461289c819
child 2254 784267b33613
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tools/buildbot/bootstrap.pl	Sat Sep 06 08:09:19 2008 +0000
     1.3 @@ -0,0 +1,22 @@
     1.4 +#!/usr/bin/perl
     1.5 +
     1.6 +my $incoming = shift;
     1.7 +
     1.8 +die "Invalid source folder.\n" unless $incoming ne '';
     1.9 +
    1.10 +require $incoming . '/tools/buildbot/helpers.pm';
    1.11 +
    1.12 +chdir(Build::PathFormat($incoming . '/tools/builder'));
    1.13 +if ($^O eq "linux")
    1.14 +{
    1.15 +    Build::Command('make clean');
    1.16 +    Build::Command('make');
    1.17 +}
    1.18 +else
    1.19 +{
    1.20 +    Build::Command($ENV{'MSVC7'} . ' /Rebuild Release builder.csproj');
    1.21 +    Build::Command('move ' . Build::PathFormat('bin/Release/builder.exe') . ' .');
    1.22 +}
    1.23 +
    1.24 +die "Unable to build builder tool!\n" unless -e 'builder.exe';
    1.25 +