Remove file name exceptions (#7249)

This commit is contained in:
Alexei Kotov 2025-02-22 23:52:17 +03:00
parent 72cbf61b43
commit cf7e276a6a
2 changed files with 1 additions and 2 deletions

View file

@ -1,7 +1,6 @@
#!/bin/bash -ex
git ls-files -- ':(exclude)extern/' '*.cpp' '*.hpp' '*.h' |
grep -vP '/[a-z0-9]+\.(cpp|hpp|h)$' |
grep -vFf CI/file_name_exceptions.txt &&
grep -vP '/[a-z0-9]+\.(cpp|hpp|h)$' &&
( echo 'File names do not follow the naming convention, see https://wiki.openmw.org/index.php?title=Naming_Conventions#Files'; exit -1 )
exit 0