The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

SYNOPSIS

use Plack::Builder;

builder {
    enable "Plack::Middleware::GitReivisionInfo", path => '../repo';
    $app;
};

DESCRIPTION

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 -->

ARGUMENTS

This middleware accepts the following arguments.

path

This is the path to the git repository. This is a required argument.

SEE ALSO

Plack, Plack::Middleware, Moo

AUTHOR

Logan Bell, <logie@cpan.org>

COPYRIGHT & LICENSE

Copyright 2012, Logan Bell

This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.