This is an automated email from the git hooks/post-receive script.

kanashiro-guest pushed a commit to branch master
in repository carton.

commit 4c20148488764a885f561757b1646e7c7ab22d03
Author: Tatsuhiko Miyagawa <miyag...@bulknews.net>
Date:   Tue Sep 24 19:58:45 2013 +0900

    Add an option to skip fatpacking
---
 lib/Carton/CLI.pm | 12 ++++++++++--
 1 file changed, 10 insertions(+), 2 deletions(-)

diff --git a/lib/Carton/CLI.pm b/lib/Carton/CLI.pm
index 96b38e3..e2e34ec 100644
--- a/lib/Carton/CLI.pm
+++ b/lib/Carton/CLI.pm
@@ -145,6 +145,12 @@ sub cmd_version {
 sub cmd_bundle {
     my($self, @args) = @_;
 
+    my $fatpack = 1;
+    $self->parse_options(
+        \@args,
+        "fatpack!" => \$fatpack,
+    );
+
     my $env = Carton::Environment->build;
     $env->snapshot->load;
 
@@ -156,8 +162,10 @@ sub cmd_bundle {
     );
     $builder->bundle($env->install_path, $env->vendor_cache, $env->snapshot);
 
-    require Carton::Packer;
-    Carton::Packer->new->fatpack_carton($env->vendor_bin);
+    if ($fatpack) {
+        require Carton::Packer;
+        Carton::Packer->new->fatpack_carton($env->vendor_bin);
+    }
 
     $self->printf("Complete! Modules were bundled into %s\n", 
$env->vendor_cache, SUCCESS);
 }

-- 
Alioth's /usr/local/bin/git-commit-notice on 
/srv/git.debian.org/git/pkg-perl/packages/carton.git

_______________________________________________
Pkg-perl-cvs-commits mailing list
Pkg-perl-cvs-commits@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-perl-cvs-commits

Reply via email to