Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

add the new Build.PL way to build distros

  • Loading branch information...
commit 52c9488a6d5a25f1ea87b9df8d77934869f9173f 1 parent 35f1f37
@book authored
Showing with 15 additions and 0 deletions.
  1. +14 −0 Build.PL
  2. +1 −0  Makefile.PL
View
14 Build.PL
@@ -0,0 +1,14 @@
+use strict;
+use warnings;
+use Module::Build;
+
+my $builder = Module::Build->new(
+ module_name => 'Regexp::Log',
+ license => 'perl',
+ dist_author => 'Philippe "BooK" Bruhat <book@cpan.org>',
+ dist_version_from => 'lib/Regexp/Log.pm',
+ add_to_cleanup => ['Regexp-Log-*'],
+ requires => { 'Test::More' => 0, },
+);
+
+$builder->create_build_script();
View
1  Makefile.PL
@@ -5,4 +5,5 @@ WriteMakefile(
PREREQ_PM => { 'Test::More' => 0 },
ABSTRACT_FROM => 'lib/Regexp/Log.pm',
AUTHOR => "Philippe 'BooK' Bruhat <book\@cpan.org>",
+ PL_FILES => {},
);
Please sign in to comment.
Something went wrong with that request. Please try again.