Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Remove dependency on MANIFEST.

  • Loading branch information...
commit cd12b6b492b2f139bc2908f8a994ef87a37e420f 1 parent 4b52873
@pjcj authored
Showing with 43 additions and 43 deletions.
  1. +5 −7 Makefile.PL
  2. +36 −36 dist.ini
  3. +2 −0  lib/Devel/Cover.pm
View
12 Makefile.PL
@@ -28,7 +28,6 @@ my @perlbug = ("perlbug", "-a", $Author,
my $Perlbug = join " ", map { / / ? "'$_'" : $_ } @perlbug;
my @files = sort keys %{maniread()}, "lib/Devel/Cover/Inc.pm";
-my @versions = grep !/^(?:README|Makefile\.PL|\.gitignore)$/, @files;
my $base = getcwd;
@@ -320,7 +319,6 @@ WriteMakefile
},
TYPEMAPS => [ "utils/typemap" ],
clean => { FILES => "t/e2e/* cover_db* t/e2e/*cover_db" },
- depend => { distdir => "@files" },
dist => { COMPRESS => "gzip --best --force" },
test => { TESTS => "t/*/*.t" },
realclean => $] < 5.008008 ?
@@ -397,17 +395,17 @@ README file, or send mail to me directly.
EOM
-sub MY::libscan
+sub MY::libscanx
{
my ($self, $path) = @_;
(my $p = $path) =~ s/^\$\(INST_LIB\)/lib/; # 5.6.1
$p =~ s/^\$\(INST_SCRIPT\)/bin/;
$p =~ s|\\|/|g if $^O eq "MSWin32";
- # print "$path $p\n";
+ print "$path $p\n";
my $wanted = -d $p; # 5.9.0
for my $f (@files)
{
- # print "$p - $f\n";
+ print "$p - $f\n";
last if $wanted ||= $p =~ /$f$/;
}
$wanted && $path;
@@ -421,8 +419,8 @@ sub MY::postamble
qw(compilation html_basic html_minimal html html_subtle sort text2 text);
qq[
-tags : @files
-\t ptags @files
+tags :
+\t ctags --recurse .
README : lib/Devel/Cover.pm
\t TERMCAP= COLUMNS=80 pod2text -s lib/Devel/Cover.pm | \\
View
72 dist.ini
@@ -1,36 +1,36 @@
-name = Devel-Cover
-abstract = Code coverage metrics for Perl
-author = PJCJ
-license = Perl_5
-copyright_holder = PJCJ
-
-; also update makefile and generate meta files with makefile
-version = 0.79
-
-[GatherDir] ; gathers files from the dist dir
-include_dotfiles = 1
-[ManifestSkip] ; removes gathered files that match anything in MANIFEST.SKIP
-[ExecDir] ; marks bin as the dir to contain scripts
-[PkgVersion] ; adds versions to the packages
-[PodVersion] ; adds versions to the POD of packages
-
-[Manifest] ; builds the manifest from the gathered files
-
-[CheckChangesHasContent] ; ensure Changes has been updated
-[NextRelease] ; fixes up the Changes file
-format = Release %v - %{d}dth %{MMMM yyyy}d
-
-[TestRelease] ; tests the dist before releasing
-[ConfirmRelease] ; asks for manual confirmation of release
-[UploadToCPAN] ; uploads to cpan
-
-
-; following can do stuff, but aren't used yet
-;[ExtraTests]
-;[PruneCruft ]
-;[MetaYAML ] ; builds META.yaml
-;[MetaJSON ] ; builds META.json
-;[License ]
-;[Readme ]
-;[ShareDir ]
-;[MakeMaker ]
+name = Devel-Cover
+abstract = Code coverage metrics for Perl
+author = PJCJ
+license = Perl_5
+copyright_holder = PJCJ
+
+; also update makefile and generate meta files with makefile
+version = 0.79
+
+[GatherDir] ; gathers files from the dist dir
+include_dotfiles = 1
+[ManifestSkip] ; removes gathered files that match anything in MANIFEST.SKIP
+[ExecDir] ; marks bin as the dir to contain scripts
+[PkgVersion] ; adds versions to the packages
+[PodVersion] ; adds versions to the POD of packages
+
+[Manifest] ; builds the manifest from the gathered files
+
+[CheckChangesHasContent] ; ensure Changes has been updated
+[NextRelease] ; fixes up the Changes file
+format = Release %v - %{d}dth %{MMMM yyyy}d
+
+[TestRelease] ; tests the dist before releasing
+[ConfirmRelease] ; asks for manual confirmation of release
+[UploadToCPAN] ; uploads to cpan
+
+
+; following can do stuff, but aren't used yet
+;[ExtraTests]
+;[PruneCruft ]
+;[MetaYAML ] ; builds META.yaml
+;[MetaJSON ] ; builds META.json
+;[License ]
+;[Readme ]
+;[ShareDir ]
+;[MakeMaker ]
View
2  lib/Devel/Cover.pm
@@ -313,6 +313,8 @@ sub import
@Ignore_re = map qr/$_/, @Ignore;
@Inc_re = map $ci ? qr/^\Q$_\//i : qr/^\Q$_\//, @Inc;
+ print STDERR "Bootstrapping Devel::Cover " . __PACKAGE__->VERSION . "\n";
+
bootstrap Devel::Cover __PACKAGE__->VERSION;
if (defined $Dir)

0 comments on commit cd12b6b

Please sign in to comment.
Something went wrong with that request. Please try again.