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'; |
59ab4a2e |
15 | requires 'Class::MOP' => '0.64'; |
db90f764 |
16 | requires 'Sub::Exporter' => '0.972'; |
25374f01 |
17 | |
18 | # only used by oose.pm, not Moose.pm :P |
19 | requires 'Filter::Simple' => '0'; |
db90f764 |
20 | |
21 | # things the tests need |
1edfdf1c |
22 | build_requires 'Test::More' => '0.62'; |
db90f764 |
23 | build_requires 'Test::Exception' => '0.21'; |
24 | build_requires 'Test::LongString'; |
25 | |
29772efc |
26 | tests_recursive; |
27 | |
28 | auto_install; |
db90f764 |
29 | |
30 | WriteAll(); |
31 | |