Add my helper scripts

This commit is contained in:
2024-09-10 13:19:37 -04:00
parent 121af671e3
commit 2f09dfd201
3 changed files with 67 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
#!/bin/sh
set -e
if [ "$1" = "" ]; then
echo "argument cannot be empty"
exit 1
fi
cd $1
echo "IncludeBlocks: Preserve
SortIncludes: Never" > .clang-format
find . -type f \( -iname \*.c -o -iname \*.h \) | xargs clang-format -i