OpenLoco/scripts/check-code-formatting.sh

9 lines
166 B
Bash
Executable File

#!/bin/sh
set -e
# Ensure we are in root directory
basedir="$(readlink -f `dirname $0`/..)"
cd $basedir
scripts/run-clang-format.py -r src --exclude src/Thirdparty