Skip to content

Commit

Permalink
Add manifest test, remove META.yml from main MANIFEST
Browse files Browse the repository at this point in the history
  • Loading branch information
mohawk2 committed Aug 18, 2015
1 parent 5f1537c commit 0954cc5
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 1 deletion.
2 changes: 1 addition & 1 deletion MANIFEST
Expand Up @@ -16,11 +16,11 @@ GSL/Makefile.PL
GSL/t/cdf.t
Kmeans/kmeans.pp
Kmeans/Makefile.PL
t/01-checkmanifest.t
t/stats_basic.t
t/stats_glm.t
t/stats_ols_rptd.t
t/stats_kmeans.t
t/stats_ts.t
TS/ts.pp
TS/Makefile.PL
META.yml Module meta-data (added by MakeMaker)
12 changes: 12 additions & 0 deletions t/01-checkmanifest.t
@@ -0,0 +1,12 @@
#!perl -w

use Test::More tests => 1;
use ExtUtils::Manifest qw(manicheck);

my @missing_files = do {
local $SIG{__WARN__} = sub { }; # suppress "No such file:" messages
manicheck;
};

is_deeply \@missing_files, [], 'missing files from MANIFEST'
or map diag("$_\n"), @missing_files;

0 comments on commit 0954cc5

Please sign in to comment.