[carton] 19/472: let's try local now
Lucas Kanashiro
kanashiro-guest at moszumanska.debian.org
Fri Jul 24 00:38:27 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 4a09efb8514ad73b6f9d209d36ec8eaf2646a6ee
Author: Tatsuhiko Miyagawa <miyagawa at bulknews.net>
Date: Sat Jun 25 20:09:30 2011 -0700
let's try local now
---
bin/carton | 12 ++++++------
lib/Carton.pm | 2 +-
2 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/bin/carton b/bin/carton
index c5baf79..beb605f 100755
--- a/bin/carton
+++ b/bin/carton
@@ -44,12 +44,12 @@ for your Perl application.
=head2 Initializing the environment
carton will use C<.carton> folder for local configuration and
-C<extlib> to install modules. You're recommended to exclude these
+C<local> to install modules. You're recommended to exclude these
directories from the version control system.
> carton check
> echo .carton >> .gitignore
- > echo extlib >> .gitignore
+ > echo local/ >> .gitignore
> git add carton.json
> git commit -m "Start using carton"
@@ -69,7 +69,7 @@ And then you can install these dependencies via:
> carton install
-The modules are installed into your C<extlib> directory, and the
+The modules are installed into your C<local> directory, and the
dependencies tree and version information are analyzed and saved into
C<carton.json> in your directory.
@@ -84,13 +84,13 @@ without managing the build file at all.
=head2 Deploying your application
Once you've done installing all the dependencies, you can push your
-application directory to a remote machine (excluding C<extlib> and
+application directory to a remote machine (excluding C<local> and
C<.carton>) and run the following command:
> carton install
This will look at the C<carton.json> and install the exact same
-versions of the dependencies into C<extlib>, and now your application
+versions of the dependencies into C<local>, and now your application
is ready to run.
=head2 Bundling modules
@@ -101,7 +101,7 @@ available on CPAN, such as internal distribution aka DarkPAN.
> carton bundle
-will bundle these tarballs into C<extlib/cache> directory, and
+will bundle these tarballs into C<local/cache> directory, and
> carton install --cached
diff --git a/lib/Carton.pm b/lib/Carton.pm
index 1f2157a..25aa664 100644
--- a/lib/Carton.pm
+++ b/lib/Carton.pm
@@ -276,7 +276,7 @@ sub cmd_exec {
sub run_cpanm {
my($self, @args) = @_;
- !system $self->{cpanm}, "--notest", "--reinstall", "-L", $self->{path}, @args;
+ !system $self->{cpanm}, "--notest", "-L", $self->{path}, @args;
}
sub parse_json {
--
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