我不想发布的 Perl 模块根目录中有一个子目录。
我尝试使用https://metacpan.org/pod/Dist::Zilla::Plugin::GatherDir的“prune_directory”或“exclude_file”属性
我试图指定 [GatherDir] 部分,但这与@Basic 重复,所以在我dist.ini
现在有(完整文件:https ://github.com/tellatin/FASTQ-Parser/blob/master/dist.ini ):
[@Basic]
prune_directory = experimental
与dzil build --verbose
我一起构建时,所有行如下:
[@Basic/GatherDir] adding file experimental/scripts/my.pl
所以确实添加了我要修剪的目录。
我该怎么办?