mirror of
https://gitlab.freedesktop.org/monado/monado.git
synced 2024-12-28 18:46:18 +00:00
script: Exclude .cmake for format-cmake.sh
It can help to fix the following error when running format-cmake.sh: IsADirectoryError: [Errno 21] Is a directory: 'src/xrt/targets/openxr_android/.cxx/Debug/***/arm64-v8a/.cmake' Signed-off-by: utzcoz <utzcoz@outlook.com>
This commit is contained in:
parent
0da76e64d3
commit
6544fd0493
|
@ -25,6 +25,7 @@ fi
|
||||||
src/CMakeLists.txt \
|
src/CMakeLists.txt \
|
||||||
tests \
|
tests \
|
||||||
\( -name "CMakeLists.txt" -o -name "*.cmake" \) \
|
\( -name "CMakeLists.txt" -o -name "*.cmake" \) \
|
||||||
|
! -name ".cmake" \
|
||||||
-print0 | \
|
-print0 | \
|
||||||
xargs -0 "${CMAKE_FORMAT}" -c "$(pwd)/.cmake-format.py" -i
|
xargs -0 "${CMAKE_FORMAT}" -c "$(pwd)/.cmake-format.py" -i
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue