From dd27c3530432ea0b09f01e604bf577f31d8ef841 Mon Sep 17 00:00:00 2001 From: jacqueline Date: Thu, 1 Jun 2023 15:41:47 +1000 Subject: convert lvgl from submodule to a plain old directory --- lib/lvgl | 1 - lib/lvgl/scripts/code-format.py | 15 +++++++++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) delete mode 160000 lib/lvgl create mode 100755 lib/lvgl/scripts/code-format.py (limited to 'lib/lvgl/scripts/code-format.py') diff --git a/lib/lvgl b/lib/lvgl deleted file mode 160000 index 0732400e..00000000 --- a/lib/lvgl +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 0732400e7b564dd0e7dc4a924619d8e19c5b23a0 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"') -- cgit v1.2.3