xsawyerx / module-starter

Module::Starter, a tool to help create solid Perl modules from scratch

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create MANIFEST.SKIP file

xsawyerx opened this issue · comments

Creating a proper MANIFEST file is in the works, but a proper MANIFEST.SKIP file is even better.

Use ExtUtils::Manifest and ExtUtils::MakeMaker have good MANIFEST.SKIP examples. I think Module::Install does something similar if not the same.

Yeah, MI has the same thing. In fact, I was surprised it was building in, since it's generally not needed. Here's a good starter version, mostly stolen from DBIC:

^(?!script/|examples/|lib/|inc/|t/|xt/|Makefile\.PL$|maint/|README$|MANIFEST$|Changes$|META\.(?:yml|json)$)

# Avoid version control files.
\bRCS\b
\bCVS\b
,v$
\B\.svn\b
\b_darcs\b
# .git only in top-level, hence it's blocked on above top-level filter

# Avoid temp and backup files.
~$
\.tmp$
\.old$
\.bak$
\..*?\.sw[po]$
\#$
\b\.#

# avoid OS X finder files
\.DS_Store$

# ditto for Windows
\bdesktop\.ini$
\b[Tt]humbs\.db$

# Avoid patch remnants
\.orig$
\.rej$

You can close this request.

Yay! :)