Subversion Repositories DevTools

Rev

Rev 7307 | Rev 7310 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7307 Rev 7308
Line 1387... Line 1387...
1387
# Returns         : Will exit
1387
# Returns         : Will exit
1388
#
1388
#
1389
sub cmd
1389
sub cmd
1390
{
1390
{
1391
    my ($hcmd, @cmd_opts ) = @_;
1391
    my ($hcmd, @cmd_opts ) = @_;
-
 
1392
    my $opt_reverse;
1392
 
1393
 
1393
    Getopt::Long::Configure('pass_through');
1394
    Getopt::Long::Configure('pass_through');
-
 
1395
    getOptionsFromArray ( \@cmd_opts,
-
 
1396
                          'reverse!' => \$opt_reverse,
1394
    getOptionsFromArray ( \@cmd_opts ) || Error ("Invalid command line" );
1397
                          ) || Error ("Invalid command line" );
1395
    SubCommandHelp( $opt_help, $hcmd) if ($opt_help  );
1398
    SubCommandHelp( $opt_help, $hcmd) if ($opt_help  );
1396
 
1399
 
1397
    #
1400
    #
1398
    #   Determine Sandbox information
1401
    #   Determine Sandbox information
1399
    #   Populate global variables
1402
    #   Populate global variables
1400
    #
1403
    #
1401
    calc_sandbox_info();
1404
    calc_sandbox_info();
-
 
1405
    if ($opt_reverse) {
-
 
1406
        @build_order = reverse @build_order;
-
 
1407
    }
1402
    foreach my $fe ( @build_order )
1408
    foreach my $fe ( @build_order )
1403
    {
1409
    {
1404
        my $active = displayHeader($fe, { showPath => 1 });
1410
        my $active = displayHeader($fe, { showPath => 1 });
1405
 
1411
 
1406
        if ($active)
1412
        if ($active)
Line 3600... Line 3606...
3600
    -entireSandbox             - Process the entire sandbox
3606
    -entireSandbox             - Process the entire sandbox
3601
    -users                     - Process package users, not dependencies
3607
    -users                     - Process package users, not dependencies
3602
    -multiBuilders=mode        - Handle conflicting packages. error|report|ignore
3608
    -multiBuilders=mode        - Handle conflicting packages. error|report|ignore
3603
    -[no]keepgoing             - Ignore errors
3609
    -[no]keepgoing             - Ignore errors
3604
    -[no]reScan                - Recalculate and cache sandbox structure
3610
    -[no]reScan                - Recalculate and cache sandbox structure
-
 
3611
 Command Specific Options
-
 
3612
    -[no]reverse               - Reverse the processing order
3605
 
3613
 
3606
=head2 ARGUMENTS
3614
=head2 ARGUMENTS
3607
 
3615
 
3608
Arguments are passed to a JATS command.
3616
Arguments are passed to a JATS command.
3609
 
3617
 
3610
=head2 OPTIONS
3618
=head2 OPTIONS
3611
 
3619
 
3612
The are no command specific options.
3620
The 'cmd' command takes the following options:
-
 
3621
 
-
 
3622
=over 8
-
 
3623
 
-
 
3624
=item -[no]reverse
-
 
3625
 
-
 
3626
This option will controlls the order in which the packages will be processed.
-
 
3627
 
-
 
3628
The default option is 'noreverse'. Packages will be processed in the build order.
3613
 
3629
 
3614
=back
3630
=back
3615
 
3631
 
3616
=head2 DESCRIPTION
3632
=head2 DESCRIPTION
3617
 
3633