From b78fba8f638f18658bba292d9777ac7d080d5ee7 Mon Sep 17 00:00:00 2001 From: Matthias Dressel Date: Fri, 1 Mar 2019 02:16:34 +0100 Subject: ci: Add style check for 'david' with an i Check the code for misspellings of 'dav1d'/'DAV1D' as 'david'/'DAVID'. This helps consistency and prevents bugs arising from these misspellings. --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) (limited to '.gitlab-ci.yml') diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 016fe89..c22bf54 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -11,6 +11,7 @@ style-check: - amd64 script: - git grep -n -P "\t|\r| $" -- . ':(exclude)*/compat/*' && exit 1 + - git grep -n -i "david" -- . ':(exclude)THANKS.md' ':(exclude).gitlab-ci.yml' && exit 1 - git remote rm upstream 2> /dev/null || true - git remote add upstream https://code.videolan.org/videolan/dav1d.git - git fetch -q upstream master -- cgit v1.2.3