-
-
09 Apr 2019 14:50:32 UTC
- Distribution: Stepford
- Module version: 0.006000
- Source (raw)
- Browse (raw)
- Changes
- Homepage
- How to Contribute
- Repository
- Issues
- Testers (356 / 18 / 0)
- Kwalitee
Bus factor: 1- 95.98% Coverage
- License: perl_5
- Activity
24 month- Tools
- Download (56.77KB)
- MetaCPAN Explorer
- Permissions
- Subscribe to distribution
- Permalinks
- This version
- Latest version
and 8 contributors-
Dave Rolsky
-
Greg Oschwald
-
José Joaquín Atria
-
Kevin Phair
-
Mark Fowler
-
Olaf Alders
-
Ran Eilam
-
vti
- Dependencies
- Carp
- List::AllUtils
- Log::Dispatch
- Log::Dispatch::Null
- Module::Pluggable::Object
- Moose
- Moose::Role
- Moose::Util::TypeConstraints
- MooseX::Params::Validate
- MooseX::StrictConstructor
- MooseX::Types
- MooseX::Types::Combine
- MooseX::Types::Common::Numeric
- MooseX::Types::Common::String
- MooseX::Types::Moose
- MooseX::Types::Path::Class
- Parallel::ForkManager
- Path::Class
- Scope::Guard
- Throwable::Error
- Time::HiRes
- Try::Tiny
- namespace::autoclean
- namespace::clean
- parent
- strict
- warnings
- Reverse dependencies
- CPAN Testers List
- Dependency graph
NAME
Stepford::Role::Step::FileGenerator - A role for steps that generate files
VERSION
version 0.006000
DESCRIPTION
This role consumes the Stepford::Role::Step role and adds some additional functionality specific to generating files.
METHODS
This role provides the following methods:
$step->BUILD
This method adds a wrapper to the BUILD method which checks that all of the class's productions are of the
File
type provided by MooseX::Types::Path::Class or one of the MooseX::Types::Path::Tiny file types. The attributes can also be subtypes of these types.This check may be changed so that it is done as part of the class definition, if I can think of a way to do this sanely.
$step->last_run_time
This returns the most recent file modification time from all of the step's productions, or
undef
(requesting an unconditional run) if any productions are missing.SUPPORT
Bugs may be submitted through https://github.com/maxmind/Stepford/issues.
AUTHOR
Dave Rolsky <drolsky@maxmind.com>
COPYRIGHT AND LICENSE
This software is copyright (c) 2014 - 2019 by MaxMind, Inc.
This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.
Module Install Instructions
To install Stepford, copy and paste the appropriate command in to your terminal.
cpanm Stepford
perl -MCPAN -e shell install Stepford
For more information on module installation, please visit the detailed CPAN module installation guide.