line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
|
|
|
|
|
|
# ABSTRACT: clean up after build, test, or install |
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
use Dist::Zilla::Pragmas; |
4
|
4
|
|
|
4
|
|
2517
|
|
|
4
|
|
|
|
|
13
|
|
|
4
|
|
|
|
|
25
|
|
5
|
|
|
|
|
|
|
use Dist::Zilla::App -command; |
6
|
4
|
|
|
4
|
|
31
|
|
|
4
|
|
|
|
|
8
|
|
|
4
|
|
|
|
|
31
|
|
7
|
|
|
|
|
|
|
#pod =head1 SYNOPSIS |
8
|
|
|
|
|
|
|
#pod |
9
|
|
|
|
|
|
|
#pod dzil clean [ --dry-run|-n ] |
10
|
|
|
|
|
|
|
#pod |
11
|
|
|
|
|
|
|
#pod This command removes some files that are created during build, test, and |
12
|
|
|
|
|
|
|
#pod install. It's a very thin layer over the C<L<clean|Dist::Zilla/clean>> method |
13
|
|
|
|
|
|
|
#pod on the Dist::Zilla object. The documentation for that method gives more |
14
|
|
|
|
|
|
|
#pod information about the files that will be removed. |
15
|
|
|
|
|
|
|
#pod |
16
|
|
|
|
|
|
|
#pod =cut |
17
|
|
|
|
|
|
|
|
18
|
|
|
|
|
|
|
[ 'dry-run|n' => 'don\'t actually remove anything, just show what would be done' ], |
19
|
|
|
|
|
|
|
} |
20
|
0
|
|
|
0
|
1
|
|
|
21
|
|
|
|
|
|
|
#pod =head1 OPTIONS |
22
|
|
|
|
|
|
|
#pod |
23
|
|
|
|
|
|
|
#pod =head2 -n, --dry-run |
24
|
|
|
|
|
|
|
#pod |
25
|
|
|
|
|
|
|
#pod Nothing is removed; instead, everything that would be removed will be listed. |
26
|
|
|
|
|
|
|
#pod |
27
|
|
|
|
|
|
|
#pod =cut |
28
|
|
|
|
|
|
|
|
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
my ($self, $opt, $arg) = @_; |
31
|
0
|
|
|
0
|
1
|
|
|
32
|
|
|
|
|
|
|
$self->zilla->clean($opt->dry_run); |
33
|
|
|
|
|
|
|
} |
34
|
0
|
|
|
0
|
1
|
|
|
35
|
|
|
|
|
|
|
1; |
36
|
0
|
|
|
|
|
|
|
37
|
|
|
|
|
|
|
|
38
|
|
|
|
|
|
|
=pod |
39
|
|
|
|
|
|
|
|
40
|
|
|
|
|
|
|
=encoding UTF-8 |
41
|
|
|
|
|
|
|
|
42
|
|
|
|
|
|
|
=head1 NAME |
43
|
|
|
|
|
|
|
|
44
|
|
|
|
|
|
|
Dist::Zilla::App::Command::clean - clean up after build, test, or install |
45
|
|
|
|
|
|
|
|
46
|
|
|
|
|
|
|
=head1 VERSION |
47
|
|
|
|
|
|
|
|
48
|
|
|
|
|
|
|
version 6.028 |
49
|
|
|
|
|
|
|
|
50
|
|
|
|
|
|
|
=head1 SYNOPSIS |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
dzil clean [ --dry-run|-n ] |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
This command removes some files that are created during build, test, and |
55
|
|
|
|
|
|
|
install. It's a very thin layer over the C<L<clean|Dist::Zilla/clean>> method |
56
|
|
|
|
|
|
|
on the Dist::Zilla object. The documentation for that method gives more |
57
|
|
|
|
|
|
|
information about the files that will be removed. |
58
|
|
|
|
|
|
|
|
59
|
|
|
|
|
|
|
=head1 PERL VERSION |
60
|
|
|
|
|
|
|
|
61
|
|
|
|
|
|
|
This module should work on any version of perl still receiving updates from |
62
|
|
|
|
|
|
|
the Perl 5 Porters. This means it should work on any version of perl released |
63
|
|
|
|
|
|
|
in the last two to three years. (That is, if the most recently released |
64
|
|
|
|
|
|
|
version is v5.40, then this module should work on both v5.40 and v5.38.) |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
Although it may work on older versions of perl, no guarantee is made that the |
67
|
|
|
|
|
|
|
minimum required version will not be increased. The version may be increased |
68
|
|
|
|
|
|
|
for any reason, and there is no promise that patches will be accepted to lower |
69
|
|
|
|
|
|
|
the minimum required perl. |
70
|
|
|
|
|
|
|
|
71
|
|
|
|
|
|
|
=head1 OPTIONS |
72
|
|
|
|
|
|
|
|
73
|
|
|
|
|
|
|
=head2 -n, --dry-run |
74
|
|
|
|
|
|
|
|
75
|
|
|
|
|
|
|
Nothing is removed; instead, everything that would be removed will be listed. |
76
|
|
|
|
|
|
|
|
77
|
|
|
|
|
|
|
=head1 AUTHOR |
78
|
|
|
|
|
|
|
|
79
|
|
|
|
|
|
|
Ricardo SIGNES 😏 <cpan@semiotic.systems> |
80
|
|
|
|
|
|
|
|
81
|
|
|
|
|
|
|
=head1 COPYRIGHT AND LICENSE |
82
|
|
|
|
|
|
|
|
83
|
|
|
|
|
|
|
This software is copyright (c) 2022 by Ricardo SIGNES. |
84
|
|
|
|
|
|
|
|
85
|
|
|
|
|
|
|
This is free software; you can redistribute it and/or modify it under |
86
|
|
|
|
|
|
|
the same terms as the Perl 5 programming language system itself. |
87
|
|
|
|
|
|
|
|
88
|
|
|
|
|
|
|
=cut |