Perl package generator
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
config
.gitignore
Makefile
README.pod

README.pod

NAME

generate-pm-package - Generating Perl module package

SYNOPSIS

$ generate-pm-package [OPTIONS] package-info.pi dest-directory

The generated package will be located at dest-directory/package.tar.gz.

DESCRIPTION

The generate-pm-package script can be used to generate Perl module packages using a simple manifest file.

EXAMPLE PACKAGE INFORMATION FILE

{
    main_module_name => 'Test::Test::More',
    file_names => [qw(
        lib/Test/Test/More.pm
        lib/Test/Test/More.pod
        t/test/test-more.t
    )],
    req_modules => {
        'Test::More' => 0,
    },
    t_req_modules => {
        'Path::Class' => 0,
    },
};

OPTIONS

--copy-tree

If this command-line argument is specified, specified files are copied into the destination directory without packaging.

--generate-json

If this command-line argument is specified, a JSON file containing package information is generated into the destination directory.

HISTORY

1.0 (2010-08-05)

First version.

1.1 (2010-08-12)

Added BUILD_REQUIRES support.

1.2 (2011-03-14)

Added --copy-tree option.

1.3 (2012-03-17)

Added --generate-json option.

AUTHOR

Wakaba (id:wakabatan) <wakabatan@hatena.ne.jp>.

LICENSE

Copyright 2010-2011 Hatena <http://www.hatena.ne.jp/>.

Copyright 2012 Wakaba <w@suika.fam.cx>.

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself.