diff options
| author | jacqueline <me@jacqueline.id.au> | 2023-06-01 15:41:47 +1000 |
|---|---|---|
| committer | jacqueline <me@jacqueline.id.au> | 2023-06-01 15:41:47 +1000 |
| commit | dd27c3530432ea0b09f01e604bf577f31d8ef841 (patch) | |
| tree | bbf86cf81a78f0ff0b07f31f1c390db473f26fd3 /lib/lvgl/scripts/code-format.py | |
| parent | 6fd588e970470b15936187980829916d0dbe77bb (diff) | |
| download | tangara-fw-dd27c3530432ea0b09f01e604bf577f31d8ef841.tar.gz | |
convert lvgl from submodule to a plain old directory
Diffstat (limited to 'lib/lvgl/scripts/code-format.py')
| m--------- | lib/lvgl | 0 | ||||
| -rwxr-xr-x | lib/lvgl/scripts/code-format.py | 15 |
2 files changed, 15 insertions, 0 deletions
diff --git a/lib/lvgl b/lib/lvgl deleted file mode 160000 -Subproject 0732400e7b564dd0e7dc4a924619d8e19c5b23a diff --git a/lib/lvgl/scripts/code-format.py b/lib/lvgl/scripts/code-format.py new file mode 100755 index 00000000..fc126c8d --- /dev/null +++ b/lib/lvgl/scripts/code-format.py @@ -0,0 +1,15 @@ +#!/usr/bin/env python3 + +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("\nFormatting tests") +os.system('astyle --options=code-format.cfg --recursive "../tests/src/test_cases/*.c"') |
