[carton] 341/472: Document --cpanfile

Lucas Kanashiro kanashiro-guest at moszumanska.debian.org
Fri Jul 24 00:39:22 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 bc43709244ac732d8e094bfa83a168f934969e92
Author: Tatsuhiko Miyagawa <miyagawa at bulknews.net>
Date:   Tue Jul 23 02:00:51 2013 -0700

    Document --cpanfile
---
 lib/Carton/Doc/Install.pod | 14 +++++++++++++-
 1 file changed, 13 insertions(+), 1 deletion(-)

diff --git a/lib/Carton/Doc/Install.pod b/lib/Carton/Doc/Install.pod
index 7644228..785a6e2 100644
--- a/lib/Carton/Doc/Install.pod
+++ b/lib/Carton/Doc/Install.pod
@@ -52,9 +52,21 @@ dependencies.
 
 Force the deployment mode and carton will ignore I<cpanfile> contents.
 
+=item --cpanfile
+
+Specify the alternate path for cpanfile. By default, C<carton install>
+will look for the file C<cpanfile> in the current directory, then
+upwards till the root directory, in case the command runs from a sub
+directory.
+
+Carton assumes the directory where your cpanfile (or altenate path)
+exists as a project root directory, and will look for the lock file as
+well as install directory (C<local>) and C<vendor/cache> relative to it.
+
 =item --path
 
-Specify the path to install modules to. Defaults to I<local> in the current directory.
+Specify the path to install modules to. Defaults to I<local> in the
+directory relative to where C<cpanfile> is.
 
 =item --without
 

-- 
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