mirror of https://github.com/OpenMW/openmw.git
Enforce space only indendation in CMake files
parent
cc066efa11
commit
a527db8ca7
@ -0,0 +1,6 @@
|
||||
#!/bin/bash -ex
|
||||
|
||||
git ls-files -- ':(exclude)extern/' 'CMakeLists.txt' '*.cmake' |
|
||||
xargs grep -P '^\s*\t' &&
|
||||
( echo 'CMake files contain leading tab character. Use only spaces for indentation'; exit -1 )
|
||||
exit 0
|
Loading…
Reference in New Issue