convert to Dist::Zilla
authorJens Rehsack <sno@NetBSD.org>
Wed, 8 Aug 2012 09:26:55 +0000 (8 11:26 +0200)
committerJens Rehsack <sno@NetBSD.org>
Wed, 8 Aug 2012 09:26:55 +0000 (8 11:26 +0200)
Build.PL [deleted file]
dist.ini [new file with mode: 0644]

diff --git a/Build.PL b/Build.PL
deleted file mode 100644 (file)
index f0221c9..0000000
--- a/Build.PL
+++ /dev/null
@@ -1,39 +0,0 @@
-use 5.008;
-use strict;
-use warnings;
-
-use Config;
-
-use Module::Build;
-
-my $builder = Module::Build->new(
-    module_name         => 'WWW::Mechanize::Script',
-    license             => 'perl',
-    dist_author         => q{Jens Rehsack <rehsack@cpan.org>},
-    dist_version_from   => 'lib/WWW/Mechanize/Script.pm',
-    build_requires => {
-        'Test::More' => 0,
-    },
-    configure_requires => {
-        'Module::Build' => '0.38',
-    },
-    requires => {
-        'perl' => 5.014,
-       'Config::Any' => 0,
-       'File::Basename' => 0,
-       'File::ConfigDir' => '0.004',
-       'File::Slurp' => 0,
-       'Hash::Merge' => 0.12,
-       'JSON' => '2.00',
-       'List::MoreUtils' => '0.22',
-       'Module::Pluggable' => '4.0',
-       'Params::Util' => '0.33',
-       'Template' => '2.20',
-       'WWW::Mechanize' => '1.72',
-       'WWW::Mechanize::Timed' => '0.44',
-    },
-    add_to_cleanup => [ 'WWW-Mechanize-Script-*' ],
-    create_makefile_pl => 'traditional',
-);
-
-$builder->create_build_script();
diff --git a/dist.ini b/dist.ini
new file mode 100644 (file)
index 0000000..07230b1
--- /dev/null
+++ b/dist.ini
@@ -0,0 +1,53 @@
+
+name = WWW-Mechanize-Script
+version = 0.001_002
+author = Jens Rehsack <rehsack@cpan.org>
+license = Perl_5
+copyright_holder = Jens Rehsack
+
+[GatherDir]
+[PruneCruft]
+[ManifestSkip]
+[MetaYAML]
+[MetaJSON]
+[License]
+
+[Readme]
+
+[ExecDir]
+
+
+[ExtraTests]
+[ShareDir]
+
+[ModuleBuild]
+
+[Manifest]
+[TestRelease]
+[ConfirmRelease]
+[UploadToCPAN]
+
+[MetaResources]
+
+
+[Prereqs / ConfigureRequires]
+Module::Build = 0.38
+
+[Prereqs / BuildRequires]
+Test::More = 0
+
+[Prereqs]
+Config::Any = 0
+File::Basename = 0
+File::ConfigDir = 0.004
+File::Slurp = 0
+Hash::Merge = 0.12
+JSON = 2.00
+List::MoreUtils = 0.22
+Module::Pluggable = 4.0
+Params::Util = 0.33
+Template = 2.20
+WWW::Mechanize = 1.72
+WWW::Mechanize::Timed = 0.44
+perl = 5.014
+