aboutsummaryrefslogtreecommitdiff
path: root/scripts/code-format.py
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/code-format.py')
-rwxr-xr-xscripts/code-format.py8
1 files changed, 4 insertions, 4 deletions
diff --git a/scripts/code-format.py b/scripts/code-format.py
index fc126c8df..91c0128d9 100755
--- a/scripts/code-format.py
+++ b/scripts/code-format.py
@@ -2,14 +2,14 @@
import os
-print("Formatting src")
-os.system('astyle --options=code-format.cfg --recursive "../src/*.c,*.h"')
-
print("\nFormatting demos")
os.system('astyle --options=code-format.cfg --recursive "../demos/*.c,*.h"')
print("\nFormatting examples")
os.system('astyle --options=code-format.cfg --recursive "../examples/*.c,*.h"')
+print("Formatting src")
+os.system('astyle --options=code-format.cfg --recursive "../src/*.c,*.h"')
+
print("\nFormatting tests")
-os.system('astyle --options=code-format.cfg --recursive "../tests/src/test_cases/*.c"')
+os.system('astyle --options=code-format.cfg --recursive "../tests/*.c,*.h"')