Dist::Zilla::Plugin::if::ENV - Load a plugin when an ENV key is true.
version 0.001002
[if::ENV]
key = UBERTESTING
dz_plugin = Some::Plugin
dz_plugin_name = UBERTEST/Some::Plugin
>= some_plugin_argument = itsvalue
>= some_plugin_argument = itsvalue
Then
dzil build # Some::Plugin not loaded, but declared as a develop dep anyway
UBERTESTING=1 dzil build # Some::Plugin loaded!
UBERTESTING=0 dzil build # Some::Plugin NOT loaded
[if]
- Dist::Zilla::Plugin::if[if::not]
- Dist::Zilla::Plugin::if::not[if::not::ENV]
- Dist::Zilla::Plugin::if::not::ENVPluginLoader::Configurable role
- Dist::Zilla::Role::PluginLoader::ConfigurablePluginLoader role
- Dist::Zilla::Role::PluginLoaderPluginLoader util
- Dist::Zilla::Util::PluginLoader
Kent Fredric kentnl@cpan.org
This software is copyright (c) 2017 by Kent Fredric kentfredric@gmail.com.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.