yagg
view release on metacpan or search on metacpan
Makefile.PL view on Meta::CPAN
'IPC::Open3' => 0,
'Text::Template' => 0,
'Parse::Yapp::Driver' => 1.05,
);
test_requires(
'Test::Compile' => 0,
'File::Slurper' => 0,
'Test::More' => 0,
'File::Find' => 0,
'File::Spec::Functions' => 0,
'Cwd' => 0,
);
my $locations = configure_programs();
foreach my $program (keys %$locations)
{
die "prerequisite program \"$program\" not found\n" unless defined $$locations{$program};
}
print "\n", '-'x78, "\n\n";
clean_files('lib/yagg/TerminalParser.pm', 'lib/yagg/NonterminalParser.pm');
license 'gpl2';
use_standard_tests;
auto_license(holder => 'David Coppit');
no_index 'directory' => 'private-lib';
enable_verbose_cpan_testing();
make_parsers($$locations{'yapp'}{'path'});
realclean_files('inc');
WriteAll;
# ---- Workaround for broken module ----
# https://rt.cpan.org/Ticket/Display.html?id=125772
{
package Module::Install::StandardTests;
sub write_standard_test_compile {
my $self = shift;
$self->write_test_file('000_standard__compile.t', q/
BEGIN {
if ($^O eq 'MSWin32') {
require Test::More;
Test::More->import(skip_all =>
"Test::Compile doesn't work properly on Windows");
} else {
require Test::More;
Test::More->import();
eval "use Test::Compile";
Test::More->builder->BAIL_OUT(
"Test::Compile required for testing compilation") if $@;
all_pm_files_ok();
}
}
/);
}
}
print "\n", '-'x78, "\n\n";
fix_sort_versions('inc/Sort/Versions.pm');
( run in 2.164 seconds using v1.01-cache-2.11-cpan-75ffa21a3d4 )