mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-08-03 07:16:31 -04:00
Remove file name exceptions (#7249)
This commit is contained in:
parent
72cbf61b43
commit
cf7e276a6a
@ -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…
x
Reference in New Issue
Block a user