yuzu-emu
/
yuzu-mainline
Archived
1
0
Fork 0

Merge pull request #9526 from ColinKinloch/choose_clang_format

ci: Allow setting clang-format binary
This commit is contained in:
liamwhite 2022-12-30 15:20:20 -05:00 committed by GitHub
commit 88f5d38b93
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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 fi
# Default clang-format points to default 3.5 version one # 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 $CLANG_FORMAT --version
if [ "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then if [ "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then