convert to Module::Install
Matt S Trout [Mon, 28 Apr 2008 16:27:18 +0000 (16:27 +0000)]
Build.PL [deleted file]
MANIFEST
Makefile.PL [new file with mode: 0644]

diff --git a/Build.PL b/Build.PL
deleted file mode 100644 (file)
index 295bb45..0000000
--- a/Build.PL
+++ /dev/null
@@ -1,27 +0,0 @@
-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;
-
index 8fbe049..e69adbd 100644 (file)
--- a/MANIFEST
+++ b/MANIFEST
@@ -1,4 +1,3 @@
-Build.PL
 Changes
 Makefile.PL
 META.yml
diff --git a/Makefile.PL b/Makefile.PL
new file mode 100644 (file)
index 0000000..0d52b87
--- /dev/null
@@ -0,0 +1,17 @@
+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;