Ralf Habacker
|
151574605e
|
tools/cmake-format: fix sed warning Expression #1, char 25: unknown option for »s« in --all mode
|
2021-10-25 15:56:09 +02:00 |
|
Ralf Habacker
|
75003c4ca1
|
tools/cmake-format: add support to use custom source root directory
|
2021-10-25 15:42:37 +02:00 |
|
Ralf Habacker
|
f4032b05ed
|
tools/cmake-format: Add option --check-indents to check indentations independently from other options
Signed-off-by: Ralf Habacker <ralf.habacker@freenet.de>
|
2019-01-24 09:07:45 +01:00 |
|
Ralf Habacker
|
eb4b378958
|
tools/cmake-format: Do not exclude CMakeLists.txt files
This fixes a regression of merge request !82 introduced
with the rebase to !84.
|
2019-01-24 09:07:10 +01:00 |
|
Ralf Habacker
|
f855d0bb48
|
Add script for formatting cmake files
The prefered call order is
tools/cmake-format --trailing-spaces
# create git commit
tools/cmake-format --tabs
# create git commit
tools/cmake-format --keyword-case
# create git commit
tools/cmake-format --keyword-spaces
# create git commit
tools/cmake-format --end-args
# create git commit
tools/cmake-format --indents
# create git commit
Signed-off-by: Ralf Habacker <ralf.habacker@freenet.de>
|
2019-01-23 21:34:08 +01:00 |
|