Skip to content

Commit

Permalink
use "#!/usr/bin/env perl" in test scripts for those who need them
Browse files Browse the repository at this point in the history
  • Loading branch information
mjgardner committed Dec 27, 2015
1 parent bc5d7ef commit e2d8032
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Changes
@@ -1,7 +1,7 @@
Revision history for perl module Dist::Zilla::Plugin::RequiresExternal

{{$NEXT}}

- use "#!/usr/bin/env perl" in test scripts for those who need them
1.005 2015-06-09 10:51:55-06:00 America/Denver
- Reduce CPAN dependencies by using Pod::Weaver::Plugin::SingleEncoding
rather than ::Encoding (thanks AWSWENSON)
Expand Down
2 changes: 1 addition & 1 deletion lib/Dist/Zilla/Plugin/RequiresExternal.pm
Expand Up @@ -101,7 +101,7 @@ sub gather_files {
# @{$requires[1]} will contain any absolute paths
my @requires = part { file($ARG)->is_absolute() } @{ $self->_requires };
my $template = <<'END_TEMPLATE';
#!perl
#!/usr/bin/env perl
use Test::Most;
plan tests => {{
Expand Down
2 changes: 1 addition & 1 deletion t/fatal.t
@@ -1,4 +1,4 @@
#!perl
#!/usr/bin/env perl

use Modern::Perl '2010'; ## no critic (Modules::ProhibitUseQuotedVersion)
use English '-no_match_vars';
Expand Down
2 changes: 1 addition & 1 deletion t/test.t
@@ -1,4 +1,4 @@
#!perl
#!/usr/bin/env perl

use Modern::Perl '2010'; ## no critic (Modules::ProhibitUseQuotedVersion)
use Config;
Expand Down
2 changes: 1 addition & 1 deletion xt/release/portability.t
@@ -1,4 +1,4 @@
#!perl
#!/usr/bin/env perl

BEGIN {
if ( not $ENV{RELEASE_TESTING} ) {
Expand Down

0 comments on commit e2d8032

Please sign in to comment.