mirror of
https://github.com/Sani7/remote-ui.git
synced 2026-10-26 21:51:13 +01:00
10 lines
242 B
Bash
10 lines
242 B
Bash
#!/bin/bash
|
|
# save unsaved work
|
|
git stash --include-untracked
|
|
|
|
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"
|
|
|
|
git stash pop
|