convert CI
[dbsrgits/DBIx-Class-Schema-Loader.git] / maint / Makefile.PL.include
CommitLineData
c812f69d 1BEGIN { -e 'Distar' or system("git clone git://git.shadowcat.co.uk/p5sagit/Distar.git") }
2use lib 'Distar/lib';
3use Distar 0.001;
4
5author 'Caelum: Rafael Kitover <rkitover@cpan.org>';
6
7manifest_include 't/backcompat/0.04006/lib' => qr/.*\.pm$/;
8manifest_include 't/bin' => qr/.*/;
9
10use FindBin;
11use lib "$FindBin::Bin/lib";
12require DBIx::Class::Schema::Loader::Optional::Dependencies;
13my $optdeps = 'DBIx::Class::Schema::Loader::Optional::Dependencies';
14my @req_groups = keys %{ $optdeps->req_group_list };
15my @other_groups = grep { !/rdbms/ } @req_groups;
16my %dev_requires = %{ $optdeps->modreq_list_for(\@other_groups) };
17
18eval {
19 # eval as blows up if not all deps installed
20 # should probably be part of "build" stage instead
21 $optdeps->_gen_pod(undef, 'lib');
22};
23
24# vim: ft=perl et sts=4 sw=4 tw=0:
25
26# list in case more added - returned to caller
27(\%dev_requires);