summaryrefslogtreecommitdiff
path: root/xenia-build
diff options
context:
space:
mode:
authorgibbed <rick@gibbed.us>2020-02-22 12:24:41 -0600
committerRick Gibbed <rick@gibbed.us>2020-02-22 12:31:21 -0600
commit5aeeed72b94f52c387276e3c589bb019a46644df (patch)
tree25e9b0e5a8f014ef7384c04c49decc6a8afab691 /xenia-build
parent39765093d6864b4db2b340e47724862074c67608 (diff)
Lint all files in a sorted manner.
Diffstat (limited to 'xenia-build')
-rwxr-xr-xxenia-build2
1 files changed, 2 insertions, 0 deletions
diff --git a/xenia-build b/xenia-build
index c51e9b3af..db601041d 100755
--- a/xenia-build
+++ b/xenia-build
@@ -1202,6 +1202,7 @@ class LintCommand(Command):
if args['all']:
all_files = find_all_source_files()
+ all_files.sort()
print('- linting %d files' % (len(all_files)))
any_errors = False
for file_path in all_files:
@@ -1298,6 +1299,7 @@ class FormatCommand(Command):
if args['all']:
all_files = find_all_source_files()
+ all_files.sort()
print('- clang-format [%d files]' % (len(all_files)))
any_errors = False
for file_path in all_files: