Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 18 additions & 4 deletions Makefile.PL
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,17 @@ if ($ENV{AUTOMATED_TESTING}) {
if $is_njh;
}

use File::ShareDir::Install;
$File::ShareDir::Install::INCLUDE_DOTFILES = 1;
$File::ShareDir::Install::INCLUDE_DOTDIRS = 1;
install_share dist => "share";

my %WriteMakefileArgs = (
"ABSTRACT" => "Top-level test harness service.",
"AUTHOR" => "Chad Granum <exodist\@cpan.org>",
"CONFIGURE_REQUIRES" => {
"ExtUtils::MakeMaker" => 0,
"File::ShareDir::Install" => "0.06",
"Test2::Event::V2" => "1.302199",
"Test2::Util::Term" => "0.000159"
},
Expand All @@ -39,7 +45,7 @@ my %WriteMakefileArgs = (
"NAME" => "Test2::Harness2",
"PREREQ_PM" => {
"App::Yath::Script" => "2.000011",
"Atomic::Pipe" => "0.021",
"Atomic::Pipe" => "0.026",
"B" => 0,
"Capture::Tiny" => "0.48",
"Carp" => 0,
Expand Down Expand Up @@ -74,10 +80,11 @@ my %WriteMakefileArgs = (
"IO::Compress::Gzip" => 0,
"IO::Handle" => "1.27",
"IO::Select" => 0,
"IO::Socket::UNIX" => "1.55",
"IO::Uncompress::Bunzip2" => 0,
"IO::Uncompress::Gunzip" => 0,
"IPC::Cmd" => 0,
"IPC::Manager" => "0.000032",
"IPC::Manager" => "0.000034",
"Importer" => "0.025",
"JSON::PP" => 0,
"LWP" => 0,
Expand Down Expand Up @@ -156,7 +163,7 @@ my %WriteMakefileArgs = (

my %FallbackPrereqs = (
"App::Yath::Script" => "2.000011",
"Atomic::Pipe" => "0.021",
"Atomic::Pipe" => "0.026",
"B" => 0,
"Capture::Tiny" => "0.48",
"Carp" => 0,
Expand Down Expand Up @@ -193,10 +200,11 @@ my %FallbackPrereqs = (
"IO::Compress::Gzip" => 0,
"IO::Handle" => "1.27",
"IO::Select" => 0,
"IO::Socket::UNIX" => "1.55",
"IO::Uncompress::Bunzip2" => 0,
"IO::Uncompress::Gunzip" => 0,
"IPC::Cmd" => 0,
"IPC::Manager" => "0.000032",
"IPC::Manager" => "0.000034",
"Importer" => "0.025",
"JSON::PP" => 0,
"LWP" => 0,
Expand Down Expand Up @@ -274,3 +282,9 @@ delete $WriteMakefileArgs{CONFIGURE_REQUIRES}
unless eval { ExtUtils::MakeMaker->VERSION(6.52) };

WriteMakefile(%WriteMakefileArgs);

{
package
MY;
use File::ShareDir::Install qw(postamble);
}
4 changes: 3 additions & 1 deletion cpanfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This file is generated by Dist::Zilla::Plugin::CPANFile v6.033
# This file is generated by Dist::Zilla::Plugin::CPANFile v6.037
# Do not edit this file directly. To change prereqs, edit the `dist.ini` file.

requires "App::Yath::Script" => "2.000011";
Expand Down Expand Up @@ -37,6 +37,7 @@ requires "IO::Compress::Bzip2" => "0";
requires "IO::Compress::Gzip" => "0";
requires "IO::Handle" => "1.27";
requires "IO::Select" => "0";
requires "IO::Socket::UNIX" => "1.55";
requires "IO::Uncompress::Bunzip2" => "0";
requires "IO::Uncompress::Gunzip" => "0";
requires "IPC::Cmd" => "0";
Expand Down Expand Up @@ -137,6 +138,7 @@ on 'test' => sub {

on 'configure' => sub {
requires "ExtUtils::MakeMaker" => "0";
requires "File::ShareDir::Install" => "0.06";
requires "Test2::Event::V2" => "1.302199";
requires "Test2::Util::Term" => "0.000159";
};
Expand Down
1 change: 1 addition & 0 deletions dist.ini
Original file line number Diff line number Diff line change
Expand Up @@ -111,6 +111,7 @@ IO::Compress::Bzip2 = 0
IO::Compress::Gzip = 0
IO::Handle = 1.27
IO::Select = 0
IO::Socket::UNIX = 1.55
IO::Uncompress::Bunzip2 = 0
IO::Uncompress::Gunzip = 0
IPC::Cmd = 0
Expand Down
Loading