Dist::Zilla::App::Command::clean - clean up after build, test, or install


Dist-Zilla documentation Contained in the Dist-Zilla distribution.

Index


Code Index:

NAME

Top

Dist::Zilla::App::Command::clean - clean up after build, test, or install

VERSION

Top

version 4.200008

SYNOPSIS

Top

  dzil clean

This command removes some files that are created during build, test, and install. It's a very thin layer over the clean method on the Dist::Zilla object. The documentation for that method gives more information about the files that will be removed.

AUTHOR

Top

Ricardo SIGNES <rjbs@cpan.org>

COPYRIGHT AND LICENSE

Top


Dist-Zilla documentation Contained in the Dist-Zilla distribution.

use strict;
use warnings;
package Dist::Zilla::App::Command::clean;
BEGIN {
  $Dist::Zilla::App::Command::clean::VERSION = '4.200008';
}
# ABSTRACT: clean up after build, test, or install
use Dist::Zilla::App -command;

use File::Find::Rule;


sub abstract { 'clean up after build, test, or install' }

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

  $self->zilla->clean;
}

1;

__END__