support/buildbot/bootstrap.pl
author David Anderson <dvander@alliedmods.net>
Wed Apr 28 23:44:56 2010 -0700 (2010-04-28)
changeset 700 a4f2bccd3ac0
parent 694 74e01be179dc
child 704 6055e296b807
permissions -rwxr-xr-x
Triggering the build.
     1 #!/usr/bin/perl
     2 
     3 use strict;
     4 use Cwd;
     5 use File::Basename;
     6 
     7 my ($myself, $path) = fileparse($0);
     8 chdir($path);
     9 
    10 require 'helpers.pm';
    11 
    12 #Go to main source dir
    13 chdir(Build::PathFormat('../..'));
    14 
    15 #Do the annoying revision bumping.
    16 #Linux needs some help here.
    17 if ($^O eq "linux")
    18 {
    19 	Build::Command("flip -u modules.versions");
    20 	Build::Command("flip -u support/versionchanger.pl");
    21 	Build::Command("chmod +x support/versionchanger.pl");
    22 }
    23 Build::Command(Build::PathFormat('support/versionchanger.pl') . ' --buildstring="-dev"');
    24