You've already forked Microtransactions64
mirror of
https://github.com/Print-and-Panic/Microtransactions64.git
synced 2026-01-21 10:17:19 -08:00
15 lines
358 B
Bash
Executable File
15 lines
358 B
Bash
Executable File
#!/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.
|