tools/buildbot/build_builder.pl
changeset 2251 0f0be4063fc9
child 2252 0b461289c819
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/tools/buildbot/build_builder.pl	Sat Sep 06 07:39:10 2008 +0000
     1.3 @@ -0,0 +1,18 @@
     1.4 +#!/usr/bin/perl
     1.5 +
     1.6 +require 'helpers.pm';
     1.7 +
     1.8 +chdir('../builder');
     1.9 +if ($^O eq "linux")
    1.10 +{
    1.11 +    Build::Command('make clean');
    1.12 +    Build::Command('make');
    1.13 +}
    1.14 +else
    1.15 +{
    1.16 +    Build::Command($ENV{'MSVC7'} . ' /Rebuild Release builder.csproj');
    1.17 +    Build::Command('move ' . Build::PathFormat('bin/Release/builder.exe') . ' .');
    1.18 +}
    1.19 +
    1.20 +die "Unable to build builder tool!\n" unless -e 'builder.exe';
    1.21 +