NAME

Dist::Zilla::Role::Git::LocalRepository - A plugin which works with a local git repository as its Dist::Zilla source.

VERSION

version 0.1.1

SYNOPSIS

package Foo;

use Moose;
with 'Dist::Zilla::Role::BeforeRelease';
with 'Dist::Zilla::Role::Git::LocalRepository';

sub before_release {
  my $self = shift;
  print for $self->git->version;
}

METHODS

git

Returns a Git::Wrapper instance representing the repository of the current Dist::Zilla projects' root.

REQUIRED METHODS

zilla

Available from:

AUTHOR

Kent Fredric <kentnl@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2011 by Kent Fredric <kentnl@cpan.org>.

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