Module::Install::GithubMeta - A Module::Install extension to include GitHub meta information in META.yml
# In Makefile.PL use inc::Module::Install; githubmeta;
The repository and homepage meta in META.yml will be set accordingly.
repository
homepage
META.yml
Module::Install::GithubMeta is a Module::Install extension to include GitHub http://github.com meta information in META.yml.
It automatically detects if the distribution directory is under git version control and whether the origin is a GitHub repository and will set the repository and homepage meta in META.yml to the appropriate URLs for GitHub.
git
origin
This plugin adds the following Module::Install command:
githubmeta
Does nothing on the user-side. On the author-side it will auto-detect if the directory is under git version control and whether the origin is a GitHub repository. Will set repository to the public clone URL and homepage to the http GitHub link for the repository.
You may optionally provide the remote to query, this defaults to origin if not specified.
You may override the homepage setting by using the Module::Install homepage command prior to calling this command.
use inc::Module::Install; homepage 'http://mymoduleshomepage.com/'; githubmeta;
Chris BinGOs Williams
BinGOs
Based on code from Module::Install::Repository by Tatsuhiko Miyagawa
Copyright © Chris Williams and Tatsuhiko Miyagawa
This module may be used, modified, and distributed under the same terms as Perl itself. Please see the license that came with your Perl distribution for details.
Module::Install
To install Module::Install::GithubMeta, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Module::Install::GithubMeta
CPAN shell
perl -MCPAN -e shell install Module::Install::GithubMeta
For more information on module installation, please visit the detailed CPAN module installation guide.