Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kentnl/dist-zilla-plugin-if-env
Load a plugin when an ENV key is true
https://github.com/kentnl/dist-zilla-plugin-if-env
Last synced: 4 days ago
JSON representation
Load a plugin when an ENV key is true
- Host: GitHub
- URL: https://github.com/kentnl/dist-zilla-plugin-if-env
- Owner: kentnl
- License: other
- Created: 2014-09-06T02:17:52.000Z (about 10 years ago)
- Default Branch: master
- Last Pushed: 2017-03-09T07:54:26.000Z (over 7 years ago)
- Last Synced: 2023-08-20T22:27:50.961Z (about 1 year ago)
- Language: Perl
- Size: 59.6 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.mkdn
- Changelog: Changes
- License: LICENSE
Awesome Lists containing this project
README
# NAME
Dist::Zilla::Plugin::if::ENV - Load a plugin when an ENV key is true.
# VERSION
version 0.001002
# SYNOPSIS
[if::ENV]
key = UBERTESTING
dz_plugin = Some::Plugin
dz_plugin_name = UBERTEST/Some::Plugin
>= some_plugin_argument = itsvalue
>= some_plugin_argument = itsvalueThen
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## SEE ALSO
- `[if]` - [Dist::Zilla::Plugin::if](https://metacpan.org/pod/Dist::Zilla::Plugin::if)
- `[if::not]` - [Dist::Zilla::Plugin::if::not](https://metacpan.org/pod/Dist::Zilla::Plugin::if::not)
- `[if::not::ENV]` - [Dist::Zilla::Plugin::if::not::ENV](https://metacpan.org/pod/Dist::Zilla::Plugin::if::not::ENV)
- `PluginLoader::Configurable role` - [Dist::Zilla::Role::PluginLoader::Configurable](https://metacpan.org/pod/Dist::Zilla::Role::PluginLoader::Configurable)
- `PluginLoader role` - [Dist::Zilla::Role::PluginLoader](https://metacpan.org/pod/Dist::Zilla::Role::PluginLoader)
- `PluginLoader util` - [Dist::Zilla::Util::PluginLoader](https://metacpan.org/pod/Dist::Zilla::Util::PluginLoader)# AUTHOR
Kent Fredric
# COPYRIGHT AND LICENSE
This software is copyright (c) 2017 by Kent Fredric .
This is free software; you can redistribute it and/or modify it under
the same terms as the Perl 5 programming language system itself.