Skip to content
Sections
>> Trisquel >> 套件 >> nabia >> perl >> libextutils-makemaker-dist-zilla-develop-perl
nabia  ] [  aramo  ]

套件: libextutils-makemaker-dist-zilla-develop-perl (0.03-2)

Perl module creating bare-bones Makefile.PL files for use with dzil

Dist::Zilla makes developing modules much easier by generating all kinds of boilerplate files, saving authors from having to write them by hand, but in some cases this can make developing more inconvenient. The most prominent example of this is with Makefile.PL files - although the majority of distributions can be hacked on just by editing the files in a source control checkout and using prove for testing, for some this isn't sufficient. In particular, distributions which use an auto-generated test suite and distributions which use XS both need special handling at build time before they will function, and with Dist::Zilla, this means running dzil build and rebuilding after every change. This is tedious!

ExtUtils::MakeMaker::Dist::Zilla::Develop provides an alternative. Create a minimal Makefile.PL in source control which handles just enough functionality for basic development (it can be as minimal as just what is in the /SYNOPSIS, but can also contain commands to generate your test suite, for example), and tell Dist::Zilla to replace it with a real Makefile.PL when you're actually ready to build a real distribution. To do this, make sure you're still using the MakeMaker|Dist::Zilla::Plugin::MakeMaker plugin, either directly or through a pluginbundle like @Basic|Dist::Zilla::PluginBundle::Basic, and add the exclude_filename = Makefile.PL option to your dist.ini where you use [GatherDir].

其他與 libextutils-makemaker-dist-zilla-develop-perl 有關的套件

  • 依賴
  • 推薦
  • 建議
  • dep: perl
    Larry Wall's Practical Extraction and Report Language

下載 libextutils-makemaker-dist-zilla-develop-perl

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 7.6 kB25 kB [文件列表]