mirror of
https://github.com/coop-deluxe/sm64coopdx.git
synced 2024-11-21 11:35:11 +00:00
49bca1cc01
Co-Authored-By: Yuyake <140215214+AngelicMiracles@users.noreply.github.com> Co-Authored-By: FluffaMario <50761036+FluffaMario@users.noreply.github.com> Co-Authored-By: Gregory Heskett <gheskett@gmail.com> Co-Authored-By: iZePlayzYT <69536095+iZePlayzYT@users.noreply.github.com> Co-Authored-By: Isaac0-dev <62234577+Isaac0-dev@users.noreply.github.com> Co-Authored-By: eros71 <16540103+eros71-dev@users.noreply.github.com>
13 lines
294 B
Bash
Executable file
13 lines
294 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
|
|
echo done.
|