mirror of
https://github.com/RfidResearchGroup/ChameleonUltra.git
synced 2026-05-12 11:22:59 -07:00
8 lines
287 B
Bash
8 lines
287 B
Bash
#!/bin/env bash
|
|
|
|
# Make it a bit less prone to breaking
|
|
cd "$(dirname "$0")/.." || exit
|
|
|
|
while IFS= read -r -d '' f; do
|
|
clang-format --verbose -i "$f"
|
|
done < <(find . -type f \( -name '*.c' -o -name '*.h' \) ! -path './firmware/nrf52_sdk/*' ! -path './firmware/nrf52_sdk/**' -print0) |