Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[MERGE] Port from Module::Install to ExtUtils::MakeMaker+Distar
- Loading branch information
Showing
8 changed files
with
157 additions
and
192 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
BEGIN { -e 'Distar' or system("git clone git://git.shadowcat.co.uk/p5sagit/Distar.git") } | ||
use lib 'Distar/lib'; | ||
use Distar 0.001; | ||
|
||
author 'Caelum: Rafael Kitover <rkitover@cpan.org>'; | ||
|
||
manifest_include 't/backcompat/0.04006/lib' => qr/.*\.pm$/; | ||
manifest_include 't/bin' => qr/\w+/; | ||
manifest_include 'script' => qr/\w+/; | ||
|
||
use FindBin; | ||
use lib "$FindBin::Bin/lib"; | ||
require DBIx::Class::Schema::Loader::Optional::Dependencies; | ||
my $optdeps = 'DBIx::Class::Schema::Loader::Optional::Dependencies'; | ||
my @req_groups = keys %{ $optdeps->req_group_list }; | ||
my @other_groups = grep { !/rdbms/ } @req_groups; | ||
my %dev_requires = %{ $optdeps->modreq_list_for(\@other_groups) }; | ||
|
||
eval { | ||
# eval as blows up if not all deps installed | ||
# should probably be part of "build" stage instead | ||
$optdeps->_gen_pod(undef, 'lib'); | ||
}; | ||
|
||
# vim: ft=perl et sts=4 sw=4 tw=0: | ||
|
||
# list in case more added - returned to caller | ||
(\%dev_requires); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.