Commit | Line | Data |
db90f764 |
1 | use strict; |
2 | use warnings; |
47b19570 |
3 | use inc::Module::Install; |
db90f764 |
4 | |
5 | name 'Moose'; |
6 | all_from 'lib/Moose.pm'; |
7 | license 'perl'; |
8 | |
9 | # Scalar::Util 1.18 doesn't work on Windows |
10 | my $win32 = !! ( $^O eq 'Win32' or $^O eq 'cygwin' ); |
11 | |
12 | # prereqs |
13 | requires 'Scalar::Util' => $win32 ? '1.17' : '1.18'; |
14 | requires 'Carp'; |
283584a0 |
15 | requires 'Class::MOP' => '0.64_01'; |
2c9c8797 |
16 | requires 'List::MoreUtils'; |
c373cc5c |
17 | requires 'Sub::Exporter' => '0.972'; |
25374f01 |
18 | |
19 | # only used by oose.pm, not Moose.pm :P |
20 | requires 'Filter::Simple' => '0'; |
db90f764 |
21 | |
22 | # things the tests need |
1edfdf1c |
23 | build_requires 'Test::More' => '0.62'; |
db90f764 |
24 | build_requires 'Test::Exception' => '0.21'; |
25 | build_requires 'Test::LongString'; |
26 | |
29772efc |
27 | tests_recursive; |
28 | |
db90f764 |
29 | WriteAll(); |
30 | |