Skip to content

Commit

Permalink
add the new Build.PL way to build distros
Browse files Browse the repository at this point in the history
  • Loading branch information
book committed Aug 11, 2005
1 parent 35f1f37 commit 52c9488
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Build.PL
Original file line number Original file line Diff line number Diff line change
@@ -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();
1 change: 1 addition & 0 deletions Makefile.PL
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ WriteMakefile(
PREREQ_PM => { 'Test::More' => 0 }, PREREQ_PM => { 'Test::More' => 0 },
ABSTRACT_FROM => 'lib/Regexp/Log.pm', ABSTRACT_FROM => 'lib/Regexp/Log.pm',
AUTHOR => "Philippe 'BooK' Bruhat <book\@cpan.org>", AUTHOR => "Philippe 'BooK' Bruhat <book\@cpan.org>",
PL_FILES => {},
); );

0 comments on commit 52c9488

Please sign in to comment.