More buildbot path nonsense.
authorDavid Anderson <dvander@alliedmods.net>
Sat Sep 06 08:09:19 2008 +0000 (2008-09-06)
changeset 225383e8b248e3c9
parent 2252 0b461289c819
child 2254 784267b33613
More buildbot path nonsense.
tools/buildbot/bootstrap.pl
tools/buildbot/build_builder.pl
     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 +
     2.1 --- a/tools/buildbot/build_builder.pl	Sat Sep 06 07:47:29 2008 +0000
     2.2 +++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.3 @@ -1,18 +0,0 @@
     2.4 -#!/usr/bin/perl
     2.5 -
     2.6 -require 'helpers.pm';
     2.7 -
     2.8 -chdir('tools/builder');
     2.9 -if ($^O eq "linux")
    2.10 -{
    2.11 -    Build::Command('make clean');
    2.12 -    Build::Command('make');
    2.13 -}
    2.14 -else
    2.15 -{
    2.16 -    Build::Command($ENV{'MSVC7'} . ' /Rebuild Release builder.csproj');
    2.17 -    Build::Command('move ' . Build::PathFormat('bin/Release/builder.exe') . ' .');
    2.18 -}
    2.19 -
    2.20 -die "Unable to build builder tool!\n" unless -e 'builder.exe';
    2.21 -