Skip to content

Commit

Permalink
clean up and document the pm file
Browse files Browse the repository at this point in the history
  • Loading branch information
xdg committed Aug 8, 2012
1 parent 8902d4b commit 2e27f6f
Showing 1 changed file with 16 additions and 8 deletions.
24 changes: 16 additions & 8 deletions lib/Dist/Zilla/Plugin/CheckMetaResources.pm
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,6 @@ package Dist::Zilla::Plugin::CheckMetaResources;
# VERSION

# Dependencies
use autodie 2.00;

use Dist::Zilla 4 ();
use autodie 2.00;
use Moose 0.99;
Expand Down Expand Up @@ -65,17 +63,27 @@ __PACKAGE__->meta->make_immutable;
=head1 DESCRIPTION
This is a "before release" Dist::Zilla plugin that ensures that your META file
will contain some "resources" data. If it doesn't find any, it will abort the
release process.
This is a "before release" L<Dist::Zilla> plugin that ensures that your META file
will contain some "resources" data.
=head1 USAGE
By default, it requires you to have at least 'repository' and 'bugtracker'
sections, but 'homepage' is optional.
Good luck!
You can toggle any of these checks on or off. For example:
[CheckMetaResources]
repository = 1
bugtracker = 0
homepage = 1
=head1 SEE ALSO
Maybe other modules do related things.
=for :list
* L<Dist::Zilla>
* L<Dist::Zilla::Plugin::MetaResources>
* L<Dist::Zilla::Plugin::GithubMetas>
* L<Dist::Zilla::Plugin::AutoMetaResources>
* ... and plenty more (search metacpan.org for "dist zilla plugin meta")
=cut

Expand Down

0 comments on commit 2e27f6f

Please sign in to comment.