moved clang-format to tools directory

This commit is contained in:
p01arst0rm 2022-12-29 14:12:18 +00:00
parent e55cb737c1
commit e127dd7d43
8 changed files with 3 additions and 3 deletions

View file

@ -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'),
]) ])