-
-
08 Feb 2013 03:38:17 UTC
- Distribution: ShipIt
- Source (raw)
- Browse (raw)
- Changes
- How to Contribute
- Issues (5)
- Testers (863 / 518 / 0)
- Kwalitee
Bus factor: 1- 33.82% Coverage
- License: unknown
- Activity
24 month- Tools
- Download (20.17KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
- Dependencies
- File::Spec
- Term::ReadLine
- and possibly others
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
ShipIt::Step - a unit of work to be done prior to a release
OVERVIEW
Each step is implemented as a ShipIt::Step subclass, implementing an 'init' and 'run' method.
METHODS
init($conf)
Given the provided ShipIt::Conf object, retrieve configuration keys your step know about (using $conf->value($key)), and set fields in $self (an empty hashref) for use later, in the 'run' method. You can't access the configuration later in the 'run' method, as the configuration is then locked down, already having been sanity checked for unknown or missing keys.
run($state)
Run your step. Return on success, die on failure.
Use the provided ShipIt::State $state object to inquire about the state of the release thus far, as populated by previous steps.
SEE ALSO
ShipIt - the ShipIt system itself
Module Install Instructions
To install ShipIt, copy and paste the appropriate command in to your terminal.
cpanm ShipIt
perl -MCPAN -e shell install ShipIt
For more information on module installation, please visit the detailed CPAN module installation guide.