Dist::Zilla::Plugin::MakeMaker::SkipInstall - skip the install rule of MakeMaker
version 1.201
In your dist.ini file:
dist.ini
[MakeMaker::SkipInstall]
This small plugin will edit the Makefile.PL file, and override the install target to become a no-op.
Makefile.PL
This will make your module fail the install phase. It will be built, and tested but will never be installed.
The most common use for this techinique is for Task modules. Without a proper install phase, you can install your Task module repetedly.
The technique was described by Marcel Gruenauer (hanekomu) in his article "Repeatedly installing Task::* distributions":
http://hanekomu.at/blog/dev/20091005-1227-repeatedly_installing_task_distributions.html
The author just wrapped the concept into a Dist::Zilla plugin.
Dist::Zilla.
Pedro Melo, <melo at cpan.org>
<melo at cpan.org>
Copyright 2009 Pedro Melo.
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Dist::Zilla::Plugin::MakeMaker::SkipInstall, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::Plugin::MakeMaker::SkipInstall
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Plugin::MakeMaker::SkipInstall
For more information on module installation, please visit the detailed CPAN module installation guide.