ref: 85519d0e8bdf2af76ce642a7f9e1432ba5e824f6
parent: 71f27407dd4d16f1ce2ce2ea9071a1b0816c2c27
author: Matthias Dressel <[email protected]>
date: Fri Apr 3 00:29:21 EDT 2020
CI: Add debug messages to style checks
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -56,8 +56,8 @@
extends: .debian-amd64-common
stage: style
script:
- - git grep -I -n -P "\t|\r| $" -- . ':(exclude)*/compat/*' && exit 1
- - git grep -I -n -i "david" -- . ':(exclude)THANKS.md' ':(exclude).gitlab-ci.yml' && exit 1
+ - git grep -I -n -P "\t|\r| $" -- . ':(exclude)*/compat/*' && echo "Trailing whitespace" && exit 1
+ - git grep -I -n -i "david" -- . ':(exclude)THANKS.md' ':(exclude).gitlab-ci.yml' && echo "Misspelled dav1d" && exit 1
- git grep -I -l -z "" -- . ':(exclude)*/compat/*' | while IFS= read -r -d '' i; do
if [ -n "$(tail -c 1 "$i")" ]; then
echo "No newline at end of $i";