[Bps-public-commit] r14990 - in Shipwright/branches/2.0: lib/Shipwright/Script

sunnavy at bestpractical.com sunnavy at bestpractical.com
Mon Aug 11 06:03:00 EDT 2008


Author: sunnavy
Date: Mon Aug 11 06:02:55 2008
New Revision: 14990

Modified:
   Shipwright/branches/2.0/   (props changed)
   Shipwright/branches/2.0/lib/Shipwright/Script/Import.pm

Log:
 r15457 at sunnavys-mb:  sunnavy | 2008-08-11 15:50:03 +0800
 added as option for branch


Modified: Shipwright/branches/2.0/lib/Shipwright/Script/Import.pm
==============================================================================
--- Shipwright/branches/2.0/lib/Shipwright/Script/Import.pm	(original)
+++ Shipwright/branches/2.0/lib/Shipwright/Script/Import.pm	Mon Aug 11 06:02:55 2008
@@ -7,7 +7,7 @@
 use base qw/App::CLI::Command Class::Accessor::Fast Shipwright::Script/;
 __PACKAGE__->mk_accessors(
     qw/comment no_follow build_script require_yml
-      name test_script extra_tests overwrite min_perl_version skip version/
+      name test_script extra_tests overwrite min_perl_version skip version as/
 );
 
 use Shipwright;
@@ -34,6 +34,7 @@
         'min-perl-version' => 'min_perl_version',
         'skip=s'           => 'skip',
         'version=s'        => 'version',
+        'as=s'             => 'as',
     );
 }
 
@@ -165,6 +166,7 @@
             comment => $self->comment || 'import ' . $source,
             overwrite => 1,                   # import anyway for the main dist
             version   => $version->{$name},
+            as        => $self->as,
         );
         $shipwright->backend->import(
             source       => $source,



More information about the Bps-public-commit mailing list