Super Mario 64 OpenGL port for PC. Mirror of https://github.com/sm64pc/sm64pc https://github.com/sm64pc/sm64pc
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

15 lines
358 B

  1. #!/usr/bin/env bash
  2. shopt -s globstar
  3. if (( $# > 0 )); then
  4. printf "formatting file(s) $*"
  5. echo
  6. clang-format -i -style=file "$@"
  7. echo done.
  8. exit
  9. fi
  10. echo formatting...
  11. clang-format -i -style=file src/**/*.c # src
  12. clang-format -i -style=file lib/src/*.c # libultra
  13. clang-format -i -style=file enhancements/*.inc.c # enhancements
  14. echo done.