You've already forked ultrasm64-2
mirror of
https://github.com/HackerN64/ultrasm64-2.git
synced 2026-01-21 10:38:08 -08:00
init2
This commit is contained in:
14
format.sh
Executable file
14
format.sh
Executable 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.
|
||||
Reference in New Issue
Block a user