mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
Merge e127dd7d43 into 01ae24e46e
This commit is contained in:
commit
26b39b7947
|
|
@ -1553,7 +1553,7 @@ class LintCommand(Command):
|
||||||
if os.path.exists(difftemp): os.remove(difftemp)
|
if os.path.exists(difftemp): os.remove(difftemp)
|
||||||
ret = shell_call([
|
ret = shell_call([
|
||||||
sys.executable,
|
sys.executable,
|
||||||
'third_party/clang-format/git-clang-format',
|
'/git-clang-format',
|
||||||
'--binary=%s' % (clang_format_binary),
|
'--binary=%s' % (clang_format_binary),
|
||||||
'--commit=%s' % ('origin/master' if args['origin'] else 'HEAD'),
|
'--commit=%s' % ('origin/master' if args['origin'] else 'HEAD'),
|
||||||
'--style=file',
|
'--style=file',
|
||||||
|
|
@ -1570,7 +1570,7 @@ class LintCommand(Command):
|
||||||
print('')
|
print('')
|
||||||
shell_call([
|
shell_call([
|
||||||
sys.executable,
|
sys.executable,
|
||||||
'third_party/clang-format/git-clang-format',
|
'/git-clang-format',
|
||||||
'--binary=%s' % (clang_format_binary),
|
'--binary=%s' % (clang_format_binary),
|
||||||
'--commit=%s' % ('origin/master' if args['origin'] else 'HEAD'),
|
'--commit=%s' % ('origin/master' if args['origin'] else 'HEAD'),
|
||||||
'--style=file',
|
'--style=file',
|
||||||
|
|
@ -1628,7 +1628,7 @@ class FormatCommand(Command):
|
||||||
print('- git-clang-format')
|
print('- git-clang-format')
|
||||||
shell_call([
|
shell_call([
|
||||||
sys.executable,
|
sys.executable,
|
||||||
'third_party/clang-format/git-clang-format',
|
'/git-clang-format',
|
||||||
'--binary=%s' % (clang_format_binary),
|
'--binary=%s' % (clang_format_binary),
|
||||||
'--commit=%s' % ('origin/master' if args['origin'] else 'HEAD'),
|
'--commit=%s' % ('origin/master' if args['origin'] else 'HEAD'),
|
||||||
])
|
])
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue