diff options
author | Jesse Luehrs <doy@tozt.net> | 2013-09-04 01:59:49 -0400 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2013-09-04 01:59:56 -0400 |
commit | 21f3748e9e1562bf0bd3c09c4316388c56eeb373 (patch) | |
tree | f6c50f0133c98860879d69fb78c401a115d0f00c /bin | |
parent | fb660982f85daa4f21a34224fad4ad05c6f14a58 (diff) | |
download | conf-21f3748e9e1562bf0bd3c09c4316388c56eeb373.tar.gz conf-21f3748e9e1562bf0bd3c09c4316388c56eeb373.zip |
one more
Diffstat (limited to 'bin')
-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 99c8d9c..9a5c80c 100755 --- a/bin/lint-dist +++ b/bin/lint-dist @@ -194,6 +194,14 @@ my @checks = ( [ sub { $_[0]->has_file('Changes') }, sub { + my $dist = $_[0]->name; + $_[0]->read_file('Changes') !~ /\ARevision history for $dist$/m + }, + "changelog has incorrect header" + ], + [ + sub { $_[0]->has_file('Changes') }, + sub { require CPAN::Changes; require version; |