diff options
author | Tatsuhiko Miyagawa <miyagawa@bulknews.net> | 2018-06-28 10:38:08 -0700 |
---|---|---|
committer | Tatsuhiko Miyagawa <miyagawa@bulknews.net> | 2018-06-28 10:38:08 -0700 |
commit | d7fcb61aaa908e033cf3f66f53fbe9e46743978a (patch) | |
tree | ddb6f84cd157ed1c27a6c4d0a2118dc9d09fa011 | |
parent | fec30310973e9bda0920d4aa9edb18b1be5022e2 (diff) | |
download | carton-d7fcb61aaa908e033cf3f66f53fbe9e46743978a.tar.gz |
v1.0.34v1.0.34
-rw-r--r-- | Changes | 3 | ||||
-rw-r--r-- | META.json | 4 | ||||
-rw-r--r-- | Makefile.PL | 2 | ||||
-rw-r--r-- | README.md | 16 | ||||
-rw-r--r-- | lib/Carton.pm | 2 |
5 files changed, 22 insertions, 5 deletions
@@ -2,6 +2,9 @@ Revision history for carton {{$NEXT}} +v1.0.34 2018-06-28 10:38:01 PDT + - workaround carton fatpack by explicitly loading Menlo::Index::Mirror + v1.0.33 2018-05-04 11:22:45 PDT - bundle: support environment where IO::Compress::Gzip is not available @@ -72,9 +72,10 @@ "web" : "https://github.com/perl-carton/carton" } }, - "version" : "v1.0.33", + "version" : "v1.0.34", "x_contributors" : [ "Christian Walde <walde.christian@googlemail.com>", + "Dan Book <grinnz@gmail.com>", "David Golden <dagolden@cpan.org>", "David Steinbrunner <dsteinbrunner@pobox.com>", "Jonathan Steinert <hachi@fastly.com>", @@ -82,6 +83,7 @@ "Kan Fushihara <kan.fushihara@gmail.com>", "Karen Etheridge <ether@cpan.org>", "Masahiro Chiba <chiba@everqueue.com>", + "Michael Schout <mschout@gkg.net>", "NAKAGAWA Masaki <masaki.nakagawa@gmail.com>", "Olaf Alders <olaf@wundersolutions.com>", "Pedro Figueiredo <me@pedrofigueiredo.org>", diff --git a/Makefile.PL b/Makefile.PL index c4f2e9b..c37a704 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -33,7 +33,7 @@ my %WriteMakefileArgs = ( "Try::Tiny" => "0.09", "parent" => "0.223" }, - "VERSION" => "v1.0.33", + "VERSION" => "v1.0.34", "test" => { "TESTS" => "t/*.t" } @@ -17,6 +17,10 @@ Carton - Perl module dependency manager (aka Bundler for Perl) > carton install > carton exec starman -p 8080 myapp.psgi + # carton exec is optional + > perl -Ilocal/lib/perl5 local/bin/starman -p 8080 myapp.psgi + > PERL5LIB=/path/to/local/lib/perl5 /path/to/local/bin/starman -p 8080 myapp.psgi + # AVAILABILITY Carton only works with perl installation with the complete set of core @@ -24,8 +28,9 @@ modules. If you use perl installed by a vendor package with modules stripped from core, Carton is not expected to work correctly. Also, Carton requires you to run your command/application with -`carton exec` command, which means it's difficult or impossible to -run in an embedded perl use case such as mod\_perl. +`carton exec` command or to include the _local/lib/perl5_ directory +in your Perl library search path (using `PERL5LIB`, `-I`, or +[lib](https://metacpan.org/pod/lib)). # DESCRIPTION @@ -126,6 +131,13 @@ will install modules using this local cache. Combined with CPAN Meta DB or downloading files from CPAN mirrors upon deployment time. +As of Carton v1.0.32, the bundle also includes a package index +allowing you to simply use [cpanm](https://metacpan.org/pod/cpanm) (which has a +[standalone version](https://metacpan.org/pod/App::cpanminus#Downloading-the-standalone-executable)) +instead of installing Carton on a remote machine. + + > cpanm -L local --from "$PWD/vendor/cache" --installdeps --notest --quiet . + # PERL VERSIONS When you take a snapshot in one perl version and deploy on another diff --git a/lib/Carton.pm b/lib/Carton.pm index 08f3b48..bb3e693 100644 --- a/lib/Carton.pm +++ b/lib/Carton.pm @@ -1,7 +1,7 @@ package Carton; use strict; use 5.008_005; -use version; our $VERSION = version->declare("v1.0.33"); +use version; our $VERSION = version->declare("v1.0.34"); 1; __END__ |