Files
lilygo-t-deck/lib/lvgl/scripts/code-format.py
T
2023-04-11 11:27:36 +08:00

9 lines
355 B
Python

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