NAME
App::git::ship::perl - Ship your Perl module
DESCRIPTION
App::git::ship::perl is a module that can ship your Perl module.
See "SYNOPSIS" in App::git::ship
METHODS
build
$ git ship build
Used to build a Perl distribution by running through these steps:
Call "clean" to make sure the repository does not contain old build files.
Run "before_build" hook.
Render Makefile.PL
Add timestamp to changes file.
Update version in main module file.
Make MANIFEST
Make dist file (Your-App-0.42.tar.gz)
Run "after_build" hook.
can_handle_project
See "can_handle_project" in App::git::ship.
clean
$ git ship clean
Used to clean out build files:
Makefile, Makefile.old, MANIFEST, MYMETA.json, MYMETA.yml, Changes.bak, META.json and META.yml.
ship
$ git ship
Used to ship a Perl distribution by running through these steps:
Find the dist file created by "build" or abort if it could not be found.
Run "before_ship" hook.
Add and commit the files changed in the "build" step.
Use "next_version" in App::git::ship to make a new tag and push all the changes to the "origin" git repository.
Upload the dist file to CPAN.
Run "after_ship" hook.
start
$ git ship start
Used to create main module file template and generate cpanfile
, Changes
, MANIFEST.SKIP
and t/00-basic.t
.
test_coverage
Use Devel::Cover to check test coverage for the distribution.
Set DEVEL_COVER_OPTIONS to pass on options to Devel::Cover. The default value will be set to:
DEVEL_COVER_OPTIONS=+ignore,t
update
$ git ship update
Action for updating the basic repo files.