App-FatPacker-Simple
view release on metacpan or search on metacpan
script/fatpack-simple view on Meta::CPAN
#!perl
use v5.24;
use warnings;
use experimental qw(lexical_subs signatures);
use App::FatPacker::Simple;
App::FatPacker::Simple->new->parse_options(@ARGV)->run;
__END__
=for stopwords fatpack fatpacks fatpacked deps
=head1 NAME
fatpack-simple - only fatpack a script
=head1 SYNOPSIS
$ fatpack-simple [OPTIONS] SCRIPT
=head1 OPTIONS
-d, --dir DIRECTORIES where pm files to be fatpacked are.
default: lib,fatlib,local,extlib
-o, --output OUTPUT output filename
-e, --exclude MODULES modules not to be fatpacked
-s, --strict turn on strict mode
-q, --quiet be quiet
--color color output, default: on
--no-strip do not perform perl-strip
--cache DIRECTORY cache directory for perl-strip
--shebang SHEBANG use custom shebang
--exclude-strip REGEXP do not perform perl-strip on files which match REGEXP
-h, --help show this help
-v, --version show version
=head1 EXAMPLES
$ fatpack-simple script.pl
$ fatpack-simple --dir deps,my-ext --output artifact.pl script.pl
$ fatpack-simple --exclude Module::Build,List::MoreUtils --strict script.pl
$ fatpack-simple --shebang '#!/usr/bin/env perl' script.pl
$ fatpack-simple --exclude-strip 'MyApp.*\.pm' script.pl
=head1 DESCRIPTION
C<fatpack-simple> helps you fatpack a script when B<you> understand the whole
dependencies of it.
If you execute C<fatpack-simple script.pl>,
then you will get C<script.fatpack.pl>
that is the fatpacked C<script.pl> with all modules in
C<lib,fatlib,local,extlib> directories.
Also note that the all modules are automatically perl-stripped.
For tutorial, please look at L<App::FatPacker::Simple::Tutorial>.
=head1 LICENSE
Copyright (C) Shoichi Kaji.
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
=cut
( run in 1.611 second using v1.01-cache-2.11-cpan-13bb782fe5a )