summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-09-04 20:46:24 -0400
committerJesse Luehrs <doy@tozt.net>2013-09-04 20:46:34 -0400
commit47de87d2ff194eb3609115b733d0d40ded8c6264 (patch)
treea2b001b9fbf0860420f984f57d3482bb94bd329b
parentac2fcf669aeb6e6d1013976294674977d2100fc4 (diff)
downloadconf-47de87d2ff194eb3609115b733d0d40ded8c6264.tar.gz
conf-47de87d2ff194eb3609115b733d0d40ded8c6264.zip
another lint check
-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"
],