#!perl
our $DATE = '2015-09-06'; # DATE
our $VERSION = '0.10'; # VERSION
use 5.010;
use strict;
use warnings;
use Getopt::Long qw(:config auto_help auto_version);
use Test::Rinci;
my %opts = (
exclude_packages => [],
exclude_functions => [],
wrap_function => 1,
test_function_examples => 1,
);
GetOptions(
'exclude-package=s' => $opts{exclude_packages},
'exclude-function=s' => $opts{exclude_functions},
'W' => sub { $opts{wrap_function} = 0 },
'E' => sub { $opts{test_function_examples} = 0 },
);
metadata_in_all_modules_ok(
\%opts,
);
1;
# ABSTRACT: Test Rinci metadata in all dist's modules
# PODNAME: test-rinci
__END__
=pod
=encoding UTF-8
=head1 NAME
test-rinci - Test Rinci metadata in all dist's modules
=head1 VERSION
This document describes version 0.10 of test-rinci (from Perl distribution Test-Rinci), released on 2015-09-06.
=head1 SYNOPSIS
In your dist directory:
% test-rinci [options]
=head1 DESCRIPTION
This script is an command-line interface for L<Test::Rinci>'s
C<metadata_in_all_modules_ok()> function.
=head1 OPTIONS
=over
=item * --exclude-package=s
Exclude a package. Can be specified multiple times.
=item * --exclude-function=s
Exclude a function. Can be specified multiple times.
=item * -E
This sets C<test_function_examples> to 0.
=item * -W
This sets C<wrap_function> to 0.
=back
=head1 SEE ALSO
L<Test::Rinci>
=head1 HOMEPAGE
Please visit the project's homepage at L<https://metacpan.org/release/Test-Rinci>.
=head1 SOURCE
Source repository is at L<https://github.com/sharyanto/perl-Test-Rinci>.
=head1 BUGS
Please report any bugs or feature requests on the bugtracker website L<https://rt.cpan.org/Public/Dist/Display.html?Name=Test-Rinci>
When submitting a bug or request, please include a test-file or a
patch to an existing test-file that illustrates the bug or desired
feature.
=head1 AUTHOR
perlancar <perlancar@cpan.org>
=head1 COPYRIGHT AND LICENSE
This software is copyright (c) 2015 by perlancar@cpan.org.
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.
=cut