Permalink
Browse files

moved the scripts to bin/

  • Loading branch information...
1 parent 071e82c commit 5906fefb49e254ea785bc0cf1529df76ca02135e @wchristian wchristian committed Oct 3, 2011
View
3 Makefile.PL
@@ -310,7 +310,7 @@ WriteMakefile
AUTHOR => 'Paul Johnson (pjcj@cpan.org)',
ABSTRACT_FROM => "lib/Devel/Cover.pm",
DIR => [],
- EXE_FILES => [ qw( cover gcov2perl cpancover ) ],
+ EXE_FILES => [ map "bin/$_", qw( cover gcov2perl cpancover ) ],
PERL_MALLOC_OK => 1,
PREREQ_PM => {
Storable => 0,
@@ -401,6 +401,7 @@ sub MY::libscan
{
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";
my $wanted = -d $p; # 5.9.0
View
0 cover → bin/cover 100755 → 100644
File renamed without changes.
View
0 cpancover → bin/cpancover 100755 → 100644
File renamed without changes.
View
0 gcov2perl → bin/gcov2perl 100755 → 100644
File renamed without changes.
View
1 dist.ini
@@ -10,6 +10,7 @@ version = 0.79
include_dotfiles = 1
;[PruneCruft ]
[ManifestSkip ] ; removes gathered files that match anything in MANIFEST.SKIP
+[ExecDir] ; marks bin as the dir to contain scripts
;[MetaYAML ] ; builds META.yaml
;[MetaJSON ] ; builds META.json
;[License ]
View
2 lib/Devel/Cover/Test.pm
@@ -140,7 +140,7 @@ sub cover_command
my $self = shift;
my $b = shell_quote $Devel::Cover::Inc::Base;
- my $c = $self->perl . " $b/cover $self->{cover_parameters}";
+ my $c = $self->perl . " $b/bin/cover $self->{cover_parameters}";
$c
}

0 comments on commit 5906fef

Please sign in to comment.