Files
ESP8266Audio/tests/restyle.sh
T
Earle F. Philhower, III f9e72dbb21 Add style check matching RP2040 core (#740)
Will let us backport the BackgroundAudio patches to libhelix easier and clean
up some ugly formatting we've let develop.
2025-04-11 12:09:49 -07:00

5 lines
314 B
Bash
Executable File

#!/bin/bash
find ./src -type f \( -name "*.c" -o -name "*.h" -o -name "*.cpp" \) -a \! -path '*api*' -a \! -path '*libespeak-ng*' -exec astyle --suffix=none --options=./tests/astyle_core.conf \{\} \;
find ./examples -type f -name "*.ino" -exec astyle --suffix=none --options=./tests/astyle_examples.conf \{\} \;