mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-09 12:25:17 -04:00
Remove file name exceptions (#7249)
This commit is contained in:
parent
72cbf61b43
commit
cf7e276a6a
@ -1,7 +1,6 @@
|
|||||||
#!/bin/bash -ex
|
#!/bin/bash -ex
|
||||||
|
|
||||||
git ls-files -- ':(exclude)extern/' '*.cpp' '*.hpp' '*.h' |
|
git ls-files -- ':(exclude)extern/' '*.cpp' '*.hpp' '*.h' |
|
||||||
grep -vP '/[a-z0-9]+\.(cpp|hpp|h)$' |
|
grep -vP '/[a-z0-9]+\.(cpp|hpp|h)$' &&
|
||||||
grep -vFf CI/file_name_exceptions.txt &&
|
|
||||||
( echo 'File names do not follow the naming convention, see https://wiki.openmw.org/index.php?title=Naming_Conventions#Files'; exit -1 )
|
( echo 'File names do not follow the naming convention, see https://wiki.openmw.org/index.php?title=Naming_Conventions#Files'; exit -1 )
|
||||||
exit 0
|
exit 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user