diff options
author | Dan Book <grinnz@gmail.com> | 2018-06-07 18:10:49 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-06-07 18:10:49 -0400 |
commit | 8ecce2bfe76119ba83c8704c27732a61eed05f2a (patch) | |
tree | b4f0352e6c7f279758b42ab609b0f4a7aefa3f15 | |
parent | 81e10c5008fc5fe5e4609b4c3467ae51b13e9f6f (diff) | |
download | carton-8ecce2bfe76119ba83c8704c27732a61eed05f2a.tar.gz |
Document usage of cpanm with bundle index
-rw-r--r-- | lib/Carton.pm | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/lib/Carton.pm b/lib/Carton.pm index 781650a..539b202 100644 --- a/lib/Carton.pm +++ b/lib/Carton.pm @@ -104,10 +104,6 @@ The C<--deployment> flag makes sure that carton will only install modules and versions available in your snapshot, and won't fallback to query for CPAN Meta DB for missing modules. -As an alternative to installing Carton on the remote machine(s), you -can use L<carton fatpack|Carton::Doc::Fatpack> to pack it into -I<vendor/bin/carton> and deploy that script with the application. - =head2 Bundling modules carton can bundle all the tarballs for your dependencies into a @@ -125,6 +121,14 @@ C<--deployment> option, you can avoid querying for a database like CPAN Meta DB or downloading files from CPAN mirrors upon deployment time. +As an alternative to installing Carton on remote machine(s), you can +use L<carton fatpack|Carton::Doc::Fatpack> to pack Carton into +I<vendor/bin/carton> and deploy that script with the application and +bundled tarballs. As of Carton v1.0.32, the bundle also includes a +package index allowing you to simply use L<cpanm> instead. + + > cpanm -L local --from vendor/cache --installdeps --notest --quiet . + =head1 PERL VERSIONS When you take a snapshot in one perl version and deploy on another |