mirror of
https://github.com/CTCaer/RetroArch.git
synced 2024-12-29 06:03:28 +00:00
8 lines
250 B
Plaintext
8 lines
250 B
Plaintext
|
#!/bin/bash
|
||
|
uncrustify -c uncrustify.cfg *.c *.h
|
||
|
for f in *.uncrustify; do
|
||
|
source_file=$(basename "$f" .uncrustify);
|
||
|
cmp "$source_file" "$f" || (read -p "Style violations in '$source_file'" && vimdiff "$source_file" "$f");
|
||
|
done;
|
||
|
rm -f *.uncrustify
|