summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTatsuhiko Miyagawa <miyagawa@bulknews.net>2018-05-04 11:10:56 -0700
committerTatsuhiko Miyagawa <miyagawa@bulknews.net>2018-05-04 11:10:56 -0700
commit9122643dfbbb5a919e505810eeaaae938ab8b8d0 (patch)
treead73d45b3152a3b1dc512d223241871d8b61618c
parent9d08521856baab993a77c0797409fbb14d501f7f (diff)
downloadcarton-9122643dfbbb5a919e505810eeaaae938ab8b8d0.tar.gz
update Fatpack doc to recommend against it
-rw-r--r--lib/Carton/Doc/Bundle.pod2
-rw-r--r--lib/Carton/Doc/Fatpack.pod6
2 files changed, 6 insertions, 2 deletions
diff --git a/lib/Carton/Doc/Bundle.pod b/lib/Carton/Doc/Bundle.pod
index 08dba78..e485cf7 100644
--- a/lib/Carton/Doc/Bundle.pod
+++ b/lib/Carton/Doc/Bundle.pod
@@ -18,5 +18,3 @@ C<carton install --cached>, or a plain cpanm command with:
cpanm --from file://$PWD/vendor/cache -L local --installdeps .
-See also C<carton fatpack> that generates C<carton> executable in
-C<vendor/bin>.
diff --git a/lib/Carton/Doc/Fatpack.pod b/lib/Carton/Doc/Fatpack.pod
index 15282e0..1cf7e7a 100644
--- a/lib/Carton/Doc/Fatpack.pod
+++ b/lib/Carton/Doc/Fatpack.pod
@@ -8,6 +8,12 @@ Carton::Doc::Fatpack - Fatpack carton executable into vendor/bin
=head1 DESCRIPTION
+B<WARNING>: It is known for this command to create an executable that
+is not sufficient to run standalone in some environments, especially
+when L<local::lib> is enabled. It is recommended to use the standard
+C<cpanm> command to install bundle created by C<carton bundle>
+command. See C<carton -h bundle> for more details.
+
This command creates a fatpack executable of C<carton> in
C<vendor/bin> directory, so that it can be used to bootstrap
deployment process, combined with C<carton bundle> and C<carton