summaryrefslogtreecommitdiff
path: root/python
diff options
context:
space:
mode:
authorJustOff <Off.Just.Off@gmail.com>2018-06-01 17:39:43 +0300
committerJustOff <Off.Just.Off@gmail.com>2018-06-01 17:39:43 +0300
commitb49307a866309c9952cb2184a01a13a5126e308b (patch)
treeb8a01f2b08ddbd7c3e218579a9edb39d68ec957a /python
parent0f415454f842e0c8da0ad3f934a4c38c8ebb9c67 (diff)
downloadaura-central-b49307a866309c9952cb2184a01a13a5126e308b.tar.gz
Refine the file extensions even more
Diffstat (limited to 'python')
-rw-r--r--python/mozbuild/mozbuild/mach_commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/mozbuild/mozbuild/mach_commands.py b/python/mozbuild/mozbuild/mach_commands.py
index b8755e260..78d9b40be 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: