update lint

This commit is contained in:
2026-02-14 14:30:46 +01:00
parent 28d24a2d66
commit 2e5ba3caae
+1 -7
View File
@@ -1,14 +1,8 @@
#!/bin/bash
if (( $# < 1 )); then
>&2 echo "Illegal number of parameters"
exit 1
fi
# save unsaved work
git stash --include-untracked
clang-format -i "$@"
find . -type f -regex '.*/.*\.\(c\|cpp\|h\|hpp\)$' -not -path "./external/*" -not -path "./build/*" -exec clang-format -i {} \;
git add -A && git commit -m "Lint"