[carton] 329/472: push --without options
Lucas Kanashiro
kanashiro-guest at moszumanska.debian.org
Fri Jul 24 00:39:02 UTC 2015
This is an automated email from the git hooks/post-receive script.
kanashiro-guest pushed a commit to branch master
in repository carton.
commit 1a2ba94eac939ccf54b38f2cc17e12418c713510
Author: Tatsuhiko Miyagawa <miyagawa at bulknews.net>
Date: Mon Jul 22 10:07:44 2013 -0700
push --without options
---
lib/Carton/CLI.pm | 2 +-
lib/Carton/Doc/Install.pod | 5 ++++-
2 files changed, 5 insertions(+), 2 deletions(-)
diff --git a/lib/Carton/CLI.pm b/lib/Carton/CLI.pm
index 5229453..062c6f6 100644
--- a/lib/Carton/CLI.pm
+++ b/lib/Carton/CLI.pm
@@ -178,7 +178,7 @@ sub cmd_install {
$self->parse_options(
\@args,
"p|path=s" => \$path,
- "without=s" => sub { @without = split /,/, $_[1] },
+ "without=s" => sub { push @without, split /,/, $_[1] },
"deployment!" => \my $deployment,
"cached!" => \my $cached,
);
diff --git a/lib/Carton/Doc/Install.pod b/lib/Carton/Doc/Install.pod
index 5615df5..7644228 100644
--- a/lib/Carton/Doc/Install.pod
+++ b/lib/Carton/Doc/Install.pod
@@ -62,6 +62,9 @@ By default, C<carton install> will install all the phases for
dependencies, including C<develop>. You can specify phases or features
to exclude, in the comma separated list.
- carton install --without develop
+ carton install --deployment --without develop
+
+B<NOTE>: C<--without> for the initial installation (without
+carton.lock) is not supported at this moment.
=back
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/carton.git
More information about the Pkg-perl-cvs-commits
mailing list