Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
35 lines (27 sloc) 947 Bytes
use inc::Module::Install;
name 'Lyra-Server-Click';
all_from 'lib/Lyra/Server/Click.pm';
requires 'AnyEvent';
requires 'Cwd';
requires 'File::Basename';
requires 'File::Spec';
requires 'Moose';
requires 'Twiggy';
requires 'URI';
requires 'namespace::autoclean';
postamble <<EOM;
gitmodules:
\tcd modules/core && \$(FULLPERLRUN) Makefile.PL && make
EOM
auto_set_repository;
WriteAll;
if (-f 'Makefile') {
open my $fh, '+<', 'Makefile' or
die "Failed to open Makefile: $!";
my $content = do { local $/; <$fh> };
seek $fh, 0, 0;
$content =~ s/pure_all :: config pm_to_blib subdirs linkext/pure_all :: config pm_to_blib subdirs linkext gitmodules/;
$content =~ s/"-e" "(test_harness\(\$\(TEST_VERBOSE\), )/"-I\$(INST_LIB)" "-I\$(INST_ARCHLIB)" "-Mlocal::lib=extlib" "-Imodules\/core\/lib" "-MLyra::Test=start_daemons" "-e" "my \\\$\$guard = start_daemons; $1't\/lib', /;
print $fh $content;
close $fh;
}
Something went wrong with that request. Please try again.