This commit is contained in:
pierre%netscape.com 1998-11-04 03:59:18 +00:00
Родитель 118478d446
Коммит 0d4d3ce5d5
1 изменённых файлов: 38 добавлений и 1 удалений

Просмотреть файл

@ -35,12 +35,42 @@ $pull{netlib} = 0;
$pull{nglayout} = 0;
$pull{mac} = 0;
$build{all} = 1;
$build{all} = 0;
$build{dist} = 0;
$build{common}= 0;
$build{nglayout}= 0;
#
# UI
#
@choices = ("pull_all", "build_all", "pull_and_build_all");
while (GetFrontProcess () != GetCurrentProcess())
{
SetFrontProcess( GetCurrentProcess() );
}
@pick = MacPerl::Pick("What would you like to do?", @choices);
$pull{all} = 0;
$build{all} = 1;
foreach $i (@pick)
{
if ($i eq "pull_all")
{
$pull{all} = 1;
}
elsif ($i eq "build_all")
{
$build{all} = 1;
}
elsif ($i eq "pull_and_build_all")
{
$build{all} = 1;
$pull{all} = 1;
}
}
if ($pull{all})
{
foreach $k (keys(%pull))
@ -60,6 +90,7 @@ if ($build{all})
# you should not have to edit anything bellow
chdir("::::");
$MOZ_SRC = cwd();
Moz::StopForErrors();
#Moz::DontStopForErrors();
@ -67,8 +98,14 @@ Moz::StopForErrors();
#OpenErrorLog("::NGLayoutBuildLog");
OpenErrorLog(":::Mozilla.BuildLog"); # Tinderbox requires that name
if ($pull{all}) {
Checkout();
}
chdir($MOZ_SRC);
BuildDist();
chdir($MOZ_SRC);
BuildProjects();
print "Build layout complete\n";