Plack::Middleware::GitRevisionInfo - Middleware that appends git revision information to html
use Plack::Builder; builder { enable "Plack::Middleware::GitReivisionInfo", path => '../repo'; $app; };
Plack::Middleware::GitRevisionInfo will display the git revision information in the source of an html document in the following format:
<!-- REVISION #:... DATE:MM/DD/YYYY -->
This middleware accepts the following arguments.
This is the path to the git repository. This is a required argument.
Plack, Plack::Middleware, Moo
Logan Bell, <logie@cpan.org>
<logie@cpan.org>
Copyright 2012, Logan Bell
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
To install Plack::Middleware::GitRevisionInfo, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Plack::Middleware::GitRevisionInfo
CPAN shell
perl -MCPAN -e shell install Plack::Middleware::GitRevisionInfo
For more information on module installation, please visit the detailed CPAN module installation guide.