1
mirror of https://github.com/yuzu-emu/yuzu synced 2024-11-14 11:57:36 +01:00

ci: Allow setting clang-format binary

This commit is contained in:
Colin Kinloch 2022-12-30 14:29:41 +00:00
parent 0ac34bd058
commit 5d36d4b143

2
.ci/scripts/format/script.sh Normal file → Executable file
View File

@ -10,7 +10,7 @@ if grep -nrI '\s$' src *.yml *.txt *.md Doxyfile .gitignore .gitmodules .ci* dis
fi
# Default clang-format points to default 3.5 version one
CLANG_FORMAT=clang-format-12
CLANG_FORMAT=${CLANG_FORMAT:-clang-format-12}
$CLANG_FORMAT --version
if [ "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then