From ced9c8b9df1f3672e9b987adbfce95cdcdec2e06 Mon Sep 17 00:00:00 2001 From: JustOff Date: Fri, 1 Jun 2018 17:39:43 +0300 Subject: Refine the file extensions even more --- python/mozbuild/mozbuild/mach_commands.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'python') diff --git a/python/mozbuild/mozbuild/mach_commands.py b/python/mozbuild/mozbuild/mach_commands.py index b8755e2605..78d9b40be5 100644 --- a/python/mozbuild/mozbuild/mach_commands.py +++ b/python/mozbuild/mozbuild/mach_commands.py @@ -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: -- cgit v1.2.3