summaryrefslogtreecommitdiff
path: root/lib/App/DocKnot/Dist.pm
diff options
context:
space:
mode:
authorRuss Allbery <rra@cpan.org>2020-01-08 14:11:10 -0800
committerRuss Allbery <rra@cpan.org>2020-01-08 14:23:00 -0800
commit2d23f1c2607453b84263e4713e141fedb5944b1d (patch)
treec216716d13eb863a34dc30d0a024b5390b553eb6 /lib/App/DocKnot/Dist.pm
parente625797c6f93a44f867b3b26568e9a125321163e (diff)
Ignore Module::Build files when checking dist
When checking that the dist tarball is complete, ignore all the files created by Module::Build. This allows using the unreleased version of docknot to generate its own dist from the build tree.
Diffstat (limited to 'lib/App/DocKnot/Dist.pm')
-rw-r--r--lib/App/DocKnot/Dist.pm9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/App/DocKnot/Dist.pm b/lib/App/DocKnot/Dist.pm
index 589e733..6447065 100644
--- a/lib/App/DocKnot/Dist.pm
+++ b/lib/App/DocKnot/Dist.pm
@@ -65,11 +65,20 @@ our %COMMANDS = (
# care whether these files or any files in these directories are included in
# the distribution). These should match the full file path relative to the
# top directory.
+#
+# Include all of the build-generated files for docknot itself so that we can
+# use the new version to release the new version.
## no critic (RegularExpressions::ProhibitFixedStringMatches)
our @DIST_IGNORE = (
qr{ \A [.]git \z }xms,
qr{ \A autom4te[.]cache \z }xms,
+ qr{ \A Build \z }xms,
+ qr{ \A MANIFEST[.]bak \z }xms,
+ qr{ \A MYMETA [.] (?:json (?:[.]lock)? | yml) \z }xms,
+ qr{ \A _build \z }xms,
+ qr{ \A blib \z }xms,
qr{ \A config[.]h[.]in~ \z }xms,
+ qr{ \A cover_db \z }xms,
qr{ \A tests/config \z }xms,
qr{ [.]tar[.][gx]z \z }xms,
);