ESP32_Project/libraries/esp32cam-main/mk/format-code.sh
2024-02-07 11:25:05 +01:00

7 lines
170 B
Bash

#!/bin/bash
set -eo pipefail
cd "$( dirname "${BASH_SOURCE[0]}" )"/..
find -name '*.h' -or -name '*.[hc]pp' -or -name '*.ino' | \
xargs clang-format-11 -i -style=file