DXR is a code search and navigation tool aimed at making sense of large projects. It supports full-text and regex searches as well as structural queries.

Untracked file

Line Code
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24

use strict;
use Getopt::Std;
require mozBDate;
require "Moz/Milestone.pm";

my $mfile;
getopts('m:');
if (defined($::opt_m)) {
    $mfile = $::opt_m;
}

my $outfile = $ARGV[0];
my $build_num_file = $ARGV[1];
my $infile = "";

$infile = $ARGV[2] if ("$ARGV[2]" ne "");

if (defined($mfile)) {
    my $milestone = &Moz::Milestone::getOfficialMilestone($mfile);
    &mozBDate::SetMilestone($milestone);
}
&mozBDate::SubstituteBuildNumber($outfile, $build_num_file, $infile);