Merge pull request #190 from xpol/v3-winrt

exclude some platform specific files form linter.
This commit is contained in:
Dale Stammen 2016-03-24 08:07:29 -07:00
commit c326eaf063
1 changed files with 6 additions and 2 deletions

View File

@ -44,9 +44,13 @@ class Path:
class LintContext: class LintContext:
def __init__(self, root, fix): def __init__(self, root, fix):
self.exclude = [ self.exclude = [
# we are leaving win8.1 and winrt pch.cpp unchanged. # exclude some platform specific files.
'platform/win8.1-universal/Cocos2dRenderer.cpp',
'platform/win8.1-universal/OpenGLES.cpp',
'platform/win8.1-universal/OpenGLESPage.xaml.cpp',
'platform/win8.1-universal/OpenGLESPage.xaml.h',
'platform/win8.1-universal/pch.cpp', 'platform/win8.1-universal/pch.cpp',
'platform/winrt/pch.cpp' 'platform/winrt/pch.cpp',
] ]
self.source_exts = ['.h','.hpp','.inl','.c','.cpp', '.m', '.mm'] self.source_exts = ['.h','.hpp','.inl','.c','.cpp', '.m', '.mm']
self.header_exts = ['.h','.hpp','.inl'] self.header_exts = ['.h','.hpp','.inl']