Also check the style for cmake modules
This commit is contained in:
parent
8df7801d3b
commit
dc59a397f1
@ -1,4 +1,4 @@
|
|||||||
for FS in `find $PWD -type f -name 'CMakeLists.txt'`; do
|
for FS in `find $PWD -type f -name 'CMakeLists.txt' -name '*.cmake'`; do
|
||||||
#all commands should be lowercase
|
#all commands should be lowercase
|
||||||
#http://techbase.kde.org/Policies/CMake_Coding_Style#Upper.2Flower_casing
|
#http://techbase.kde.org/Policies/CMake_Coding_Style#Upper.2Flower_casing
|
||||||
perl -p -i -e 's/^( *)([0-9A-Z_]*)( *)\(/$1.lc($2).$3."("/ge' $FS
|
perl -p -i -e 's/^( *)([0-9A-Z_]*)( *)\(/$1.lc($2).$3."("/ge' $FS
|
||||||
|
Loading…
Reference in New Issue
Block a user