[Bps-public-commit] r10741 - Shipwright/lib/Shipwright/Script

sunnavy at bestpractical.com sunnavy at bestpractical.com
Wed Feb 6 17:55:46 EST 2008


Author: sunnavy
Date: Wed Feb  6 17:55:46 2008
New Revision: 10741

Modified:
   Shipwright/lib/Shipwright/Script/Import.pm

Log:
overwrite is just for deps, the main dist will be imported whatever

Modified: Shipwright/lib/Shipwright/Script/Import.pm
==============================================================================
--- Shipwright/lib/Shipwright/Script/Import.pm	(original)
+++ Shipwright/lib/Shipwright/Script/Import.pm	Wed Feb  6 17:55:46 2008
@@ -100,13 +100,13 @@
         $shipwright->backend->import(
             source    => $self->source,
             comment   => $self->comment || 'import ' . $self->source,
-            overwrite => $self->overwrite,
+            overwrite => 1,  # import anyway for the main dist
         );
         $shipwright->backend->import(
             source       => $self->source,
             comment      => 'import scripts for' . $self->source,
             build_script => $script_dir,
-            overwrite    => $self->overwrite,
+            overwrite    => 1,
         );
     }
 
@@ -279,6 +279,9 @@
    --follow           follow the dependent chain or not
    --extra-test       specify the extra test source(for --only-test when build)
    --test-script      specify the test script(for --only-test when build)
+   --min-perl-version minimal perl version( default is the same as the one
+                      which runs this cmd )
+   --overwrite        import anyway even if we have deps dists in repo already
 
 =head1 AUTHOR
 



More information about the Bps-public-commit mailing list