Commit dca89dfa authored by Gaurav Agrawal's avatar Gaurav Agrawal 🌳 Committed by Alberto Fanjul
Browse files

uncrustify-check: Improve check rules

parent fac6a33a
Pipeline #88506 passed with stages
in 6 minutes and 1 second
......@@ -11,6 +11,7 @@
for FILE in $(git diff-tree --no-commit-id --name-only -r $CI_COMMIT_SHA)
do
# Aligning prototypes is not working yet, so avoid headers
uncrustify -c "uncrustify.vala.cfg" --check "$FILE"
echo $CI_COMMIT_BEFORE_SHA
if [ "${FILE##*.}" = "vala" ]; then
uncrustify -c "uncrustify.vala.cfg" --check "$FILE"
fi
done
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment