+++ /dev/null
-use Module::Build;
-
-use strict;
-
-my $build = Module::Build->new(
- module_name => 'Moose::Autobox',
- license => 'perl',
- requires => {
- 'autobox' => '1.22',
- 'Moose' => '0.34',
- 'Perl6::Junction' => '1.10',
- },
- optional => {
- },
- build_requires => {
- 'Test::More' => '0.62',
- 'Test::Exception' => '0.21',
- },
- create_makefile_pl => 'traditional',
- recursive_test_files => 1,
- add_to_cleanup => [
- 'META.yml', '*.bak', '*.gz', 'Makefile.PL',
- ],
-);
-
-$build->create_build_script;
-
--- /dev/null
+use strict;
+use warnings;
+use inc::Module::Install;
+
+name('Moose-Autobox');
+all_from('lib/Moose/Autobox.pm');
+
+requires 'autobox' => '1.22';
+requires 'Moose' => '0.34';
+requires 'Perl6::Junction' => '1.10';
+
+test_requires 'Test::More' => '0.62';
+test_requires 'Test::Exception' => '0.21';
+
+tests_recursive;
+
+WriteAll;