mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-29 11:06:18 +00:00
scripts: Support clang-format12-14
Signed-off-by: utzcoz <utzcoz@outlook.com>
This commit is contained in:
parent
c1f4f41dd7
commit
0da76e64d3
|
@ -8,7 +8,7 @@
|
||||||
set -e
|
set -e
|
||||||
|
|
||||||
if [ ! "${CLANGFORMAT}" ]; then
|
if [ ! "${CLANGFORMAT}" ]; then
|
||||||
for fn in clang-format-11 clang-format-10 clang-format-9 clang-format-8 clang-format-7 clang-format-6.0 clang-format; do
|
for fn in clang-format-14 clang-format-13 clang-format-12 clang-format-11 clang-format-10 clang-format-9 clang-format-8 clang-format-7 clang-format-6.0 clang-format; do
|
||||||
if command -v $fn > /dev/null; then
|
if command -v $fn > /dev/null; then
|
||||||
CLANGFORMAT=$fn
|
CLANGFORMAT=$fn
|
||||||
break
|
break
|
||||||
|
|
Loading…
Reference in a new issue