You've already forked OpenRCT2-Unity
mirror of
https://github.com/izzy2lost/OpenRCT2-Unity.git
synced 2026-03-10 12:38:22 -07:00
20 lines
485 B
Bash
Executable File
20 lines
485 B
Bash
Executable File
#!/usr/bin/env sh
|
|
|
|
set -e
|
|
|
|
readlink_bin='readlink'
|
|
|
|
if [ "$(uname)" == "Darwin" ]; then
|
|
if ! [ -x "$(command -v greadlink)" ]; then
|
|
echo 'Please install greadlink with Homebrew: brew install coreutils'
|
|
exit 1
|
|
fi
|
|
readlink_bin='greadlink'
|
|
fi
|
|
|
|
# Ensure we are in root directory
|
|
basedir="$($readlink_bin -f `dirname $0`/..)"
|
|
cd $basedir
|
|
|
|
scripts/run-clang-format.py --clang-format-executable /usr/lib/llvm19/bin/clang-format -r src test data/shaders --exclude src/thirdparty
|