Ignore more non-map files in MapValidator script.
git-svn-id: svn://svn.code.sf.net/p/crossfire/code/maps/trunk@14731 282e977c-c81d-0410-88c4-b93c2d0d6712master
parent
68906a879b
commit
adeafa05cf
|
@ -103,17 +103,21 @@ try {
|
|||
if (file.isFile()
|
||||
&& path.startsWith(rootDirectory)
|
||||
&& !name.equalsIgnoreCase("README")
|
||||
&& !name.endsWith(".animation")
|
||||
&& !name.endsWith(".msg")
|
||||
&& !name.endsWith(".py")
|
||||
&& !name.endsWith(".png")
|
||||
&& !name.endsWith(".ppm")
|
||||
&& !name.endsWith(".py")
|
||||
&& !name.endsWith(".pyc")
|
||||
&& !name.endsWith(".quests")
|
||||
&& !name.endsWith(".animation")
|
||||
&& !name.endsWith(".txt")
|
||||
&& !name.endsWith(".zip")
|
||||
&& !name.equals("pshop_copier")
|
||||
&& !name.equals("pshops_changelog")
|
||||
&& !name.equals(".emergency")
|
||||
&& !name.equals("ChangeLog")
|
||||
&& !name.equals("COPYING")
|
||||
&& !name.equals("TODO")
|
||||
&& !path.contains("/Info/")
|
||||
&& !path.contains("/editor/scripts/")) {
|
||||
checkMap(file, file.getPath().substring(mapDefaultFolder.length()));
|
||||
|
|
Loading…
Reference in New Issue