5 # Scalar::Util 1.18 doesn't work on Windows
6 my $win32 = !! ( $^O eq 'Win32' or $^O eq 'cygwin' );
8 my $build = Module::Build->new(
9 module_name => 'Moose',
12 'Scalar::Util' => $win32 ? '1.17' : '1.18',
14 'Class::MOP' => '0.35',
15 'Sub::Name' => '0.02',
16 'Sub::Exporter' => '0.954',
17 'Sub::Install' => '0.92',
23 'Test::More' => '0.62',
24 'Test::Exception' => '0.21',
25 'Test::LongString' => '0',
27 create_makefile_pl => 'traditional',
28 recursive_test_files => 1,
30 'META.yml', '*.bak', '*.gz', 'Makefile.PL',
34 $build->create_build_script;