Commit b78fba8f authored by Matthias Dressel's avatar Matthias Dressel Committed by Jean-Baptiste Kempf

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.
parent e1c5fed0
...@@ -11,6 +11,7 @@ style-check: ...@@ -11,6 +11,7 @@ style-check:
- amd64 - amd64
script: script:
- git grep -n -P "\t|\r| $" -- . ':(exclude)*/compat/*' && exit 1 - 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 rm upstream 2> /dev/null || true
- git remote add upstream https://code.videolan.org/videolan/dav1d.git - git remote add upstream https://code.videolan.org/videolan/dav1d.git
- git fetch -q upstream master - git fetch -q upstream master
......
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