Skip to content

Commit

Permalink
Don't include dzil's .build dir in dist
Browse files Browse the repository at this point in the history
Adding .build to both prune_directory and MANIFEST.SKIP is redundant,
but seems safer. Most of the existing removals are already in
MANIFEST.SKIP, but using prune_directory will make builds faster by
avoiding collecting the files to begin with.
  • Loading branch information
haarg authored and pjcj committed Jun 8, 2024
1 parent 31ad5df commit c6f8b0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions MANIFEST.SKIP
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,4 @@ MYMETA\.
tags
.perl-version
\.db
^\.build\b
1 change: 1 addition & 0 deletions dist.ini
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ run = perl Makefile.PL ; needed for VersionFromScript above

[GatherDir] ; gather files from the dist dir
include_dotfiles = 1
prune_directory = ^\.build$
[ManifestSkip] ; remove gathered files specified by MANIFEST.SKIP
[ExecDir] ; mark bin as the dir to contain scripts
[OurPkgVersion] ; add versions to the packages
Expand Down

0 comments on commit c6f8b0d

Please sign in to comment.