App-ModuleBuildTiny
view release on metacpan or search on metacpan
script/mbtiny view on Meta::CPAN
=over 4
=item * versions
Print the required versions along with the modules.
=item * json
Output the dependencies in JSON format
=item * missing
List only modules whose requirement isn't met.
=item * author
Include development-time dependencies, such as C<App::ModuleBuildTiny> itself.
=item * omit-core=<perl-version>
Exclude any prerequisites that are provided by that specific perl version.
=back
=head2 run [--no-build] <command>
Run the specified command in an assembled distribution. It takes one boolean argument:
=over 4
=item * no-build
Do not build the distribution (run C<Build.PL> and C<Build>) before running the command.
=back
=head2 shell [--build]
Run a shell in the assembled distribution. This is equivalent to C<mbtiny run --no-build $SHELL>. It takes one argument.
=over 4
=item * build
Build the distribution before running the shell.
=back
=head2 dist
Create a distribution tarball.
=head2 distdir
Create a directory containing all of the files of the distribution.
=head2 version
This prints the version of C<mbtiny>.
=head1 INPUTS
The metadata for the distribution is gathered from various sources.
=over 4
=item *
The distribution name is taken from the local directory name.
=item *
The version, abstract and author are taken from the main module of the distribution.
=item *
The license is extracted from the POD, unless a metamerge file overrides this
=item *
Prerequisites are mostly taken from C<prereqs.json>, C<prereqs.yml> and (discouraged) L<cpanfile>, except when injected explicitly (e.g. a configure dependency on L<Module::Build::Tiny|Module::Build::Tiny>).
# prereqs.yml
runtime:
requires:
perl: '5.012'
Path::Tiny: 0
recommends:
Term::ReadLine::Gnu: 0
test:
requires:
Test::More: '0.88'
=item *
A C<metamerge.json> or C<metamerge.yml> file can be used to merge any additional meta information you want (including dependencies). It is assumed to be in L<meta-spec 2 format|https://metacpan.org/pod/CPAN::Meta::Spec> unless otherwise specified.
# metamerge.yml
resources:
bugtracker:
web: https://github.com/leont/App-ModuleBuildTiny/issues
homepage: http://example.org/
x_IRC: irc://irc.perl.org/#toolchain
=back
( run in 2.011 seconds using v1.01-cache-2.11-cpan-13bb782fe5a )