mirror of
https://github.com/xenia-project/xenia.git
synced 2025-12-06 07:12:03 +01:00
moved clang-format to tools directory
This commit is contained in:
parent
e55cb737c1
commit
e127dd7d43
|
|
@ -1528,7 +1528,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',
|
||||||
|
|
@ -1545,7 +1545,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',
|
||||||
|
|
@ -1603,7 +1603,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