Skip to content
This repository has been archived by the owner on Oct 11, 2024. It is now read-only.

Commit

Permalink
Switch to Module::Build
Browse files Browse the repository at this point in the history
  • Loading branch information
schwern committed Jan 22, 2010
1 parent 13137df commit e780c30
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 62 deletions.
34 changes: 34 additions & 0 deletions Build.PL
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
#!/usr/bin/perl

use warnings;
use strict;

use Module::Build;

my $build = Module::Build->new(
module_name => "mixin",
license => "perl",

recursive_test_files => 1,

requires => {
"base" => 0,
},
build_requires => {
"Test::More" => 0.40,
"Test::NoWarnings" => 0,
},

create_readme => 1,
create_license => 1,

meta_merge => {
resources => {
homepage => "http://search.cpan.org/dist/mixin",
bugtracker => "https://rt.cpan.org/Public/Dist/Display.html?Name=mixin",
repository => "http://github.com/schwern/mixin",
},
keywords => [qw(mixin inheritance devel)],
}
);
$build->create_build_script;
5 changes: 3 additions & 2 deletions MANIFEST
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
Build.PL
Changes
lib/mixin.pm
lib/mixin/with.pm
Makefile.PL
MANIFEST
MANIFEST This list of files
MANIFEST.SKIP
t/compile_error.t
t/lib/Dog/CompileError.pm
t/lib/Dog/Hamish.pm
Expand Down
59 changes: 59 additions & 0 deletions MANIFEST.SKIP
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@

#!start included /usr/local/lib/perl5/5.10.1/ExtUtils/MANIFEST.SKIP
# Avoid version control files.
\bRCS\b
\bCVS\b
\bSCCS\b
,v$
\B\.svn\b
\B\.git\b
\B\.gitignore\b
\b_darcs\b
\B\.cvsignore$

# Avoid VMS specific MakeMaker generated files
\bDescrip.MMS$
\bDESCRIP.MMS$
\bdescrip.mms$

# Avoid Makemaker generated and utility files.
\bMANIFEST\.bak
\bMakefile$
\bblib/
\bMakeMaker-\d
\bpm_to_blib\.ts$
\bpm_to_blib$
\bblibdirs\.ts$ # 6.18 through 6.25 generated this

# Avoid Module::Build generated and utility files.
\bBuild$
\b_build/
\bBuild.bat$
\bBuild.COM$
\bBUILD.COM$
\bbuild.com$

# Avoid temp and backup files.
~$
\.old$
\#$
\b\.#
\.bak$
\.tmp$
\.#
\.rej$

# Avoid OS-specific files/dirs
# Mac OSX metadata
\B\.DS_Store
# Mac OSX SMB mount metadata files
\B\._

# Avoid Devel::Cover and Devel::CoverX::Covered files.
\bcover_db\b
\bcovered\b

# Avoid MYMETA files
^MYMETA\.
#!end included /usr/local/lib/perl5/5.10.1/ExtUtils/MANIFEST.SKIP

60 changes: 0 additions & 60 deletions Makefile.PL

This file was deleted.

0 comments on commit e780c30

Please sign in to comment.