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 committed May 13, 2024
1 parent d591c69 commit b23bd3e
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 b23bd3e

Please sign in to comment.