enable plugin syntax checks for developers
This commit is contained in:
parent
2b1428af7e
commit
9b4a0de70a
@ -35,7 +35,7 @@ my @files = find( {wanted=>\&test_syntax, no_chdir=>1}, 'plugins', 'lib' );
|
||||
sub test_syntax {
|
||||
my $f = $File::Find::name;
|
||||
chomp $f;
|
||||
return if $f =~ m{^plugins/};
|
||||
return if $f =~ m{^plugins/} && ! $ENV{QPSMTPD_DEVELOPER};
|
||||
return if ! -f $f;
|
||||
return if $skip_syntax{$f};
|
||||
return if $f =~ m/(~|\.(bak|orig|rej))/;
|
||||
|
Loading…
Reference in New Issue
Block a user