diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-09-04 20:46:24 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-09-04 20:46:34 -0400 |
commit | 47de87d2ff194eb3609115b733d0d40ded8c6264 (patch) | |
tree | a2b001b9fbf0860420f984f57d3482bb94bd329b | |
parent | ac2fcf669aeb6e6d1013976294674977d2100fc4 (diff) | |
download | conf-47de87d2ff194eb3609115b733d0d40ded8c6264.tar.gz conf-47de87d2ff194eb3609115b733d0d40ded8c6264.zip |
another lint check
-rwxr-xr-x | bin/lint-dist | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/bin/lint-dist b/bin/lint-dist index 9a5c80c..9af9887 100755 --- a/bin/lint-dist +++ b/bin/lint-dist @@ -31,6 +31,14 @@ my @checks = ( ], [ sub { 1 }, + sub { + my $main_module = 'lib/' . ($_[0]->name =~ s/-/\//gr) . '.pm'; + $_[0]->read_file($main_module) =~ m{rt\.cpan\.org/NoAuth/ReportBug}; + }, + "module docs link to rt.cpan" + ], + [ + sub { 1 }, sub { !$_[0]->has_meta_2 }, "not using META spec version 2" ], |