mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-04-28 12:58:00 +03:00
Remove file name exceptions (#7249)
This commit is contained in:
parent
72cbf61b43
commit
cf7e276a6a
2 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue