Skip to content

Commit

Permalink
moved the scripts to bin/
Browse files Browse the repository at this point in the history
  • Loading branch information
wchristian committed Oct 3, 2011
1 parent 071e82c commit 5906fef
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion Makefile.PL
Expand Up @@ -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,
Expand Down Expand Up @@ -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
Expand Down
0 cover → bin/cover 100755 → 100644
File renamed without changes.
0 cpancover → bin/cpancover 100755 → 100644
File renamed without changes.
0 gcov2perl → bin/gcov2perl 100755 → 100644
File renamed without changes.
1 change: 1 addition & 0 deletions dist.ini
Expand Up @@ -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 ]
Expand Down
2 changes: 1 addition & 1 deletion lib/Devel/Cover/Test.pm
Expand Up @@ -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
}

Expand Down

0 comments on commit 5906fef

Please sign in to comment.