summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Colin Kinloch2022-12-30 14:29:41 +0000
committerGravatar Colin Kinloch2022-12-30 14:29:41 +0000
commit5d36d4b1435a4bfb7310d52f7ebf9f0feddd2abb (patch)
tree56dc617070177f11938ab02dd81b783bfa2496b6
parentMerge pull request #9524 from bunnei/touch-button-crash-fix (diff)
downloadyuzu-5d36d4b1435a4bfb7310d52f7ebf9f0feddd2abb.tar.gz
yuzu-5d36d4b1435a4bfb7310d52f7ebf9f0feddd2abb.tar.xz
yuzu-5d36d4b1435a4bfb7310d52f7ebf9f0feddd2abb.zip
ci: Allow setting clang-format binary
-rwxr-xr-x[-rw-r--r--].ci/scripts/format/script.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/.ci/scripts/format/script.sh b/.ci/scripts/format/script.sh
index 119abae6a..225bbc972 100644..100755
--- a/.ci/scripts/format/script.sh
+++ b/.ci/scripts/format/script.sh
@@ -10,7 +10,7 @@ if grep -nrI '\s$' src *.yml *.txt *.md Doxyfile .gitignore .gitmodules .ci* dis
10fi 10fi
11 11
12# Default clang-format points to default 3.5 version one 12# Default clang-format points to default 3.5 version one
13CLANG_FORMAT=clang-format-12 13CLANG_FORMAT=${CLANG_FORMAT:-clang-format-12}
14$CLANG_FORMAT --version 14$CLANG_FORMAT --version
15 15
16if [ "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then 16if [ "$TRAVIS_EVENT_TYPE" = "pull_request" ]; then