1Module::Install::GithubUMseetra(C3o)ntributed Perl DocumMeondtualtei:o:nInstall::GithubMeta(3)
2
3
4
6 Module::Install::GithubMeta - A Module::Install extension to include
7 GitHub meta information in META.yml
8
10 # In Makefile.PL
11
12 use inc::Module::Install;
13 githubmeta;
14
15 The "repository" and "homepage" meta in "META.yml" will be set
16 accordingly.
17
19 Module::Install::GithubMeta is a Module::Install extension to include
20 GitHub <http://github.com> meta information in "META.yml".
21
22 It automatically detects if the distribution directory is under "git"
23 version control and whether the "origin" is a GitHub repository and
24 will set the "repository" and "homepage" meta in "META.yml" to the
25 appropriate URLs for GitHub.
26
28 This plugin adds the following Module::Install command:
29
30 "githubmeta"
31 Does nothing on the user-side. On the author-side it will auto-
32 detect if the directory is under "git" version control and whether
33 the "origin" is a GitHub repository. Will set "repository" to the
34 public clone URL and "homepage" to the http GitHub link for the
35 repository.
36
37 You may override the "homepage" setting by using the
38 Module::Install "homepage" command prior to calling this command.
39
40 use inc::Module::Install;
41 homepage 'http://mymoduleshomepage.com/';
42 githubmeta;
43
45 Chris "BinGOs" Williams
46
47 Based on code from Module::Install::Repository by Tatsuhiko Miyagawa
48
50 Copyright X Chris Williams and Tatsuhiko Miyagawa
51
52 This module may be used, modified, and distributed under the same terms
53 as Perl itself. Please see the license that came with your Perl
54 distribution for details.
55
57 Module::Install
58
59
60
61perl v5.12.0 2009-06-14 Module::Install::GithubMeta(3)