mirror of https://github.com/axmolengine/axmol.git
Merge pull request #190 from xpol/v3-winrt
exclude some platform specific files form linter.
This commit is contained in:
commit
c326eaf063
|
@ -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']
|
||||||
|
|
Loading…
Reference in New Issue