[Bps-public-commit] rt-extension-resetpassword branch, master, updated. 0.04-2-g43f0ee5
Kevin Falcone
falcone at bestpractical.com
Mon Sep 19 12:02:13 EDT 2011
The branch, master has been updated
via 43f0ee5268ab4805e5d41020ead3c220c813b04f (commit)
from 569daf7c6ace677b9a37a786e496b247f09e0562 (commit)
Summary of changes:
MANIFEST.SKIP | 99 ++++++++++++++++++++++++++++++++++++
Makefile.PL | 1 +
inc/Module/Install/ManifestSkip.pm | 48 +++++++++++++++++
3 files changed, 148 insertions(+), 0 deletions(-)
create mode 100644 MANIFEST.SKIP
create mode 100644 inc/Module/Install/ManifestSkip.pm
- Log -----------------------------------------------------------------
commit 43f0ee5268ab4805e5d41020ead3c220c813b04f
Author: Kevin Falcone <falcone at bestpractical.com>
Date: Mon Sep 19 12:02:01 2011 -0400
We don't actually want to ship README.POD, just make it show up github
diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP
new file mode 100644
index 0000000..8cbcdcc
--- /dev/null
+++ b/MANIFEST.SKIP
@@ -0,0 +1,99 @@
+
+# Begin standard Module::Manifest::Skip list:
+
+# ExtUtils::MakeMaker
+^blib/
+^blibdirs$
+^blibdirs\.ts$
+^bpm_to_blib\.ts$
+^Makefile$
+^Makefile\.old$
+^MakeMaker-\d
+^MANIFEST\.bak$
+^MANIFEST\.SKIP$
+^MYMETA\.
+^pm_to_blib$
+^pod2htm.*
+
+# Module::Build
+^Build$
+^_build/
+^Build.bat$
+^Build.COM$
+^BUILD.COM$
+^build.com$
+
+# Revision Control
+\bCVS\b
+\b.cvsignore\b
+\b_darcs\b
+\B\.git\b
+\B\.gitignore\b
+\B\.gitmodules\b
+\B\.hg\b
+\B\.hgignore\b
+\B\.hgtags\b
+\bRCS\b
+\bSCCS\b
+\B\.svn\b
+,v$
+,B$
+,D$
+\baegis.log$
+
+# Author Extras
+^inc/.*\.pod$
+^pkg/
+^xt/
+^dist.ini$
+
+# Editors
+~$
+\#$
+\b\.#
+\.kpf$
+\.sw[pmno]$
+^\.vimrc$
+
+# OS X
+^\.DS_Store$
+^\.Trash/
+\B\._
+
+# VMS
+\bDescrip.MMS$
+\bDESCRIP.MMS$
+\bdescrip.mms$
+
+# Development
+^benchmarks/
+^core$
+^cover_db\b
+^covered\b
+^debian/
+^devel\.
+^.devel-local$
+^out$
+^tmon.out$
+
+# Author Notes
+^notes
+^todo
+^ToDo$
+
+# Common Junk Files
+\.bak$
+\.diff$
+^foo\b.*
+\.old$
+\.orig$
+\.patch$
+\.rej$
+\.tdy$
+\.tmp$
+^\w$
+\.ttc$
+\.pmc$
+
+README.pod
+RT-Extension-ResetPassword-*
diff --git a/Makefile.PL b/Makefile.PL
index 652baa6..9761415 100644
--- a/Makefile.PL
+++ b/Makefile.PL
@@ -5,5 +5,6 @@ readme_from('lib/RT/Extension/ResetPassword.pm');
all_from('lib/RT/Extension/ResetPassword.pm');
license('perl');
+manifest_skip;
sign;
&WriteAll;
diff --git a/inc/Module/Install/ManifestSkip.pm b/inc/Module/Install/ManifestSkip.pm
new file mode 100644
index 0000000..6892781
--- /dev/null
+++ b/inc/Module/Install/ManifestSkip.pm
@@ -0,0 +1,48 @@
+#line 1
+##
+# name: Module::Install::ManifestSkip
+# abstract: Generate a MANIFEST.SKIP file
+# author: Ingy döt Net <ingy at cpan.org>
+# license: perl
+# copyright: 2010, 2011
+# see:
+# - Module::Manifest::Skip
+
+package Module::Install::ManifestSkip;
+use 5.008003;
+use strict;
+use warnings;
+
+use base 'Module::Install::Base';
+
+my $requires = "
+use Module::Manifest::Skip 0.10 ();
+";
+
+our $VERSION = '0.19';
+our $AUTHOR_ONLY = 1;
+
+my $skip_file = "MANIFEST.SKIP";
+
+sub manifest_skip {
+ my $self = shift;
+ return unless $self->is_admin;
+
+ eval $requires; die $@ if $@;
+
+ print "Writing $skip_file\n";
+
+ open OUT, '>', $skip_file
+ or die "Can't open $skip_file for output: $!";;
+
+ print OUT Module::Manifest::Skip->new->text;
+
+ close OUT;
+
+ $self->clean_files('MANIFEST');
+ $self->clean_files($skip_file)
+ if grep /^clean$/, @_;
+}
+
+1;
+
-----------------------------------------------------------------------
More information about the Bps-public-commit
mailing list