Skip to content

Commit

Permalink
Revert D:Z:P:STD to not scrape svn revisions
Browse files Browse the repository at this point in the history
  • Loading branch information
sorear committed Sep 20, 2010
1 parent d98c4aa commit 959ccdd
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions v6/Dist-Zilla-Plugin-STD/lib/Dist/Zilla/Plugin/STD.pm
Expand Up @@ -6,7 +6,6 @@ use Moose::Autobox;
use Dist::Zilla::File::OnDisk;
with(
'Dist::Zilla::Role::FileGatherer',
'Dist::Zilla::Role::VersionProvider'
);

sub renamed_file {
Expand Down Expand Up @@ -36,19 +35,6 @@ sub STD_prefix {
$content;
}

sub provide_version {
my ($self) = @_;

my $info = qx/svn info/;

if ($info =~ /^Revision: (\d+)$/m) {
$self->log("Got revision $1 from SVN");
return $1;
} else {
$self->log_fatal("Unable to extract SVN revision for version number");
}
}

sub gather_files {
my ($self, $arg) = @_;

Expand Down

0 comments on commit 959ccdd

Please sign in to comment.