Refine the file extensions even more

This commit is contained in:
JustOff
2018-06-01 17:39:43 +03:00
parent 6a28a5559e
commit ced9c8b9df
+1 -1
View File
@@ -544,7 +544,7 @@ class Build(MachCommandBase):
# Check if there are any unpreprocessed files in '@MOZ_OBJDIR@/dist/bin'
# See python/mozbuild/mozbuild/preprocessor.py#L293-L309 for the list of directives
grepcmd = 'grep -E -r "^(#|%)(define|el|endif|error|expand|filter|if|include|literal|undef|unfilter)" '\
+ '--include=\*.{css,dtd,h\*,js\*,x\*,manifest,properties,rdf} '\
+ '--include=\*.{css,dtd,html,js,jsm,xhtml,xml,xul,manifest,properties,rdf} '\
+ self.topobjdir + '/dist/bin | grep -v ".css:#"'
grepresult = subprocess.Popen(grepcmd, stdout=subprocess.PIPE, shell=True).communicate()[0]
if grepresult: