Commit 109351ee authored by Matthieu Muffato's avatar Matthieu Muffato
Browse files

Expanded the list of source-code file extensions

all_source_code() is commonly used to list the files that should have the Apache 2.0 header
parent 600ab141
......@@ -522,7 +522,7 @@ sub all_source_code {
push(@dirs, map {File::Spec->catfile($file, $_)} @new_files);
if ( -f $file ) {
next unless $file =~ /(?-xism:\.(?:[cht]|p[lm]|java|sql))/;
next unless $file =~ /\.([chtr]|p[lmy]|sh|java|(my|pg|)sql|sqlite)$/i;
push(@files, $file);
} # while
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment