- COPYRIGHT AND LICENSE
Stepford::Role::Step::FileGenerator - A role for steps that generate files
This role consumes the Stepford::Role::Step role and adds some additional functionality specific to generating files.
This role provides the following methods:
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.
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.
Bugs may be submitted through https://github.com/maxmind/Stepford/issues.
Dave Rolsky <firstname.lastname@example.org>
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.