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