projects
/
lttng-ci.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
jjb: babeltrace: use clang-format-16
[lttng-ci.git]
/
scripts
/
babeltrace
/
lint.sh
diff --git
a/scripts/babeltrace/lint.sh
b/scripts/babeltrace/lint.sh
index e17799012f0686e8fe1753d246defc306b935577..5581c35fd0b1fb76a3fcc0be466071197ab0ce4f 100755
(executable)
--- a/
scripts/babeltrace/lint.sh
+++ b/
scripts/babeltrace/lint.sh
@@
-61,7
+61,7
@@
else
fi
if [[ -f tools/format-cpp.sh ]]; then
fi
if [[ -f tools/format-cpp.sh ]]; then
- FORMATTER="clang-format-1
5
-i" tools/format-cpp.sh
+ FORMATTER="clang-format-1
6
-i" tools/format-cpp.sh
git diff --exit-code | tee ../../clang-format.out || exit_code=1
fi
git diff --exit-code | tee ../../clang-format.out || exit_code=1
fi
@@
-69,4
+69,8
@@
if [[ -f tools/shellcheck.sh ]]; then
tools/shellcheck.sh | tee ../../shellcheck.out || exit_code=1
fi
tools/shellcheck.sh | tee ../../shellcheck.out || exit_code=1
fi
+if [[ -f tools/check-include-guards.sh ]]; then
+ tools/check-include-guards.sh | tee ../../check-include-guards.out || exit_code=1
+fi
+
exit $exit_code
exit $exit_code
This page took
0.022305 seconds
and
4
git commands to generate.