+pro #17611 add perl script to find javadoc errors
This commit is contained in:
parent
7e86dac542
commit
c34914a4fe
3 changed files with 21 additions and 5 deletions
15
scripts/find-javadoc-error.pl
Executable file
15
scripts/find-javadoc-error.pl
Executable file
|
|
@ -0,0 +1,15 @@
|
|||
#!/usr/bin/perl
|
||||
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
my $active = 0;
|
||||
my $print = 0;
|
||||
while (<>) {
|
||||
$active = 1, next if /Generating.*\.html/;
|
||||
$active = 0, next if /Genjavadoc Java API documentation successful\./;
|
||||
$print = 1 if /^\[error].*error:/;
|
||||
$print = 0 if /warning:/;
|
||||
print if $active && $print;
|
||||
}
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue