зеркало из https://github.com/mozilla/pjs.git
added support for automagically setting timebombs in the build. only used for mozilla official builds, shouldn't affect anything. (famous last words i know)
This commit is contained in:
Родитель
05d16ed8c9
Коммит
a8d66f70b5
|
@ -4,7 +4,7 @@ package BuildList;
|
|||
require Exporter;
|
||||
|
||||
@ISA = qw(Exporter);
|
||||
@EXPORT = qw(BuildMozilla DistMozilla SetBuildNumber SetAgentString);
|
||||
@EXPORT = qw(BuildMozilla DistMozilla SetBuildNumber SetAgentString SetTimeBomb);
|
||||
|
||||
=head1 NAME
|
||||
|
||||
|
@ -361,10 +361,6 @@ sub DistMozilla()
|
|||
|
||||
sub SetAgentString
|
||||
{
|
||||
use Cwd;
|
||||
|
||||
$cwd = cwd();
|
||||
print $cwd;
|
||||
|
||||
open (BDATE, ":mozilla:config:build_number") || die "could not open buildnumber";
|
||||
|
||||
|
@ -395,5 +391,12 @@ sub SetAgentString
|
|||
rename (":mozilla:cmd:macfe:restext:agent.r", ":mozilla:cmd:macfe:restext:custom.r");
|
||||
}
|
||||
|
||||
sub SetTimeBomb
|
||||
{
|
||||
|
||||
system("perl :mozilla:config:mac-set-timebomb.pl");
|
||||
|
||||
}
|
||||
|
||||
1;
|
||||
|
||||
|
|
|
@ -38,9 +38,11 @@ DistMozilla();
|
|||
|
||||
# Set the build number in about-all.html. Commented out for now
|
||||
# until ckid/mcvs resource problem is resolved.
|
||||
SetBuildNumber();
|
||||
# SetBuildNumber();
|
||||
|
||||
SetAgentString();
|
||||
|
||||
SetTimeBomb();
|
||||
|
||||
# Now build the projects
|
||||
BuildMozilla();
|
||||
|
|
Загрузка…
Ссылка в новой задаче