Files
2023-07-11 00:06:58 -07:00

10 lines
198 B
Bash
Executable File

#!/bin/bash
# formats Objective-C/C++ code
set -e
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
clang-format -i $(find ${SCRIPT_DIR} -name "*.h" -o -name "*.m" -o -name "*.mm")