From 6b20fb084aeafc9b4855adf25896d54ee7d870b6 Mon Sep 17 00:00:00 2001 From: Andrew Hewus Fresh Date: Thu, 15 Apr 2021 19:54:40 -0700 Subject: [PATCH 1/2] Point make disttest to correct test files With the default it doesn't find them. Unfortunately the way MakeMaker runs tests we don't get to recurse into a directory looking for test files, but fortunately they are all in a very sane path. --- Makefile.PL | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.PL b/Makefile.PL index d4b614eb..2c477e5f 100644 --- a/Makefile.PL +++ b/Makefile.PL @@ -68,5 +68,6 @@ recommends ( catalyst; install_script glob( 'script/*.pl' ); +tests 't/*/*.t'; auto_install; WriteAll; From 2c767a980c64ba8af1f34a7268622b23bb9dab76 Mon Sep 17 00:00:00 2001 From: Andrew Hewus Fresh Date: Thu, 15 Apr 2021 19:58:39 -0700 Subject: [PATCH 2/2] Add a MANIFEST.SKIP to support `make manifest` We need the MANIFEST to build a dist from, this avoids the files we don't want to put into the dist. --- MANIFEST.SKIP | 82 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 MANIFEST.SKIP diff --git a/MANIFEST.SKIP b/MANIFEST.SKIP new file mode 100644 index 00000000..5ec62ebd --- /dev/null +++ b/MANIFEST.SKIP @@ -0,0 +1,82 @@ +#!start included .../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 +\b_eumm/ # 7.05_05 and above + +# Avoid Module::Build generated and utility files. +\bBuild$ +\b_build/ +\bBuild.bat$ +\bBuild.COM$ +\bBUILD.COM$ +\bbuild.com$ + +# and Module::Build::Tiny generated files +\b_build_params$ + +# Avoid temp and backup files. +~$ +\.old$ +\#$ +\b\.# +\.bak$ +\.tmp$ +\.# +\.rej$ +\..*\.sw.?$ + +# 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 prove files +\B\.prove$ + +# Avoid MYMETA files +^MYMETA\. + +# Temp files for new META +^META_new\.(?:json|yml) + +# Avoid travis-ci.org file +^\.travis\.yml + +# Avoid AppVeyor file +^\.?appveyor.yml +#!end included .../ExtUtils/MANIFEST.SKIP + +# Avoid plenv and carton files +^.perl-version +^cpanfile +^local/ + +# Avoid dist dir and distfiles +^Shiny-*