Files
lvgl/scripts/code-format.py

9 lines
307 B
Python
Executable File

#!/usr/bin/env python3
import os
os.system('astyle --options=code-format.cfg "../src/*.c,*.h"')
os.system('astyle --options=code-format.cfg "../demos/*.c,*.h"')
os.system('astyle --options=code-format.cfg "../examples/*.c,*.h"')
os.system('astyle --options=code-format.cfg "../tests/src/test_cases/*.c"')