6 # Scalar::Util 1.18 doesn't work on Windows
7 my $win32 = !! ( $^O eq 'Win32' or $^O eq 'cygwin' );
9 my $build = Module::Build->new(
10 module_name => 'Moose',
13 'Scalar::Util' => $win32 ? '1.17' : '1.18',
15 'Class::MOP' => '0.39',
16 'Sub::Name' => '0.02',
17 'Sub::Exporter' => '0.972',
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;