mirror of
https://github.com/clearlinux/swupd-client.git
synced 2026-10-04 07:48:47 +00:00
Don't version clang-format
clang-format changing output between versions is painful so might need to be reconsidered at some point. Signed-off-by: William Douglas <william.douglas@intel.com>
This commit is contained in:
committed by
William Douglas
parent
dbeb3662a4
commit
436fb503c6
@@ -24,9 +24,9 @@ check_sort_makefile()
|
||||
return "$status"
|
||||
fi
|
||||
|
||||
run clang-format-10 -i -style=file src/*.[ch] src/lib/*.[ch]
|
||||
run clang-format -i -style=file src/*.[ch] src/lib/*.[ch] src/3rd_party/*.[ch] src/cmds/*.[ch] src/swupd_lib/*.[ch] src/verifytime/*.[ch]
|
||||
if [ "$status" -ne 0 ]; then
|
||||
echo "clang-format-10 failed with status $status. Check if you have clang-format-10 installed"
|
||||
echo "clang-format failed with status $status. Check if you have clang-format installed"
|
||||
return "$status"
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user