This commit is contained in:
n64
2019-08-25 00:46:40 -04:00
commit 89e8690857
2846 changed files with 625030 additions and 0 deletions

14
format.sh Executable file
View File

@@ -0,0 +1,14 @@
#!/usr/bin/env bash
shopt -s globstar
if (( $# > 0 )); then
printf "formatting file(s) $*"
echo
clang-format -i -style=file "$@"
echo done.
exit
fi
echo formatting...
clang-format -i -style=file src/**/*.c # src
clang-format -i -style=file lib/src/*.c # libultra
clang-format -i -style=file enhancements/*.inc.c # enhancements
echo done.