summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xbin/lint-dist8
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"
],