Dist::Zilla::Role::PluginBundle::Airplane - A role for building packages with Dist::Zilla in an airplane
version 0.002
package Dist::Zilla::PluginBundle::Author::EXAMPLE; use Moose; with 'Dist::Zilla::Role::PluginBundle::Airplane'; # You are required to implement this method sub build_network_plugins { return [qw( PromptIfStale Test::Pod::LinkCheck Test::Pod::No404s Git::Remote::Check CheckPrereqsIndexed CheckIssues UploadToCPAN UploadToStratopan Git::Push )]; }; sub configure { my $self = shift; my @plugins = ['PromptIfStale']; $self->add_plugins(@plugins); }
Enables airplane mode for your dzil plugin bundle. This means all network plugins are removed from loading and aborts a release via the plugin Dist::Zilla::Plugin::BlockRelease.
# In your dist.ini [@Author::EXAMPLE] airplane = 1 ; or DZIL_AIRPLANE=1 in your shell
Wesley Schwengle <waterkip@cpan.org>
This software is Copyright (c) 2019 by Wesley Schwengle.
This is free software, licensed under:
The (three-clause) BSD License
To install Dist::Zilla::Role::PluginBundle::Airplane, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Dist::Zilla::Role::PluginBundle::Airplane
CPAN shell
perl -MCPAN -e shell install Dist::Zilla::Role::PluginBundle::Airplane
For more information on module installation, please visit the detailed CPAN module installation guide.