|
From: Crossfire C. r. messages.
<cro...@li...> - 2011-06-28 19:32:55
|
Revision: 14731
http://crossfire.svn.sourceforge.net/crossfire/?rev=14731&view=rev
Author: akirschbaum
Date: 2011-06-28 19:32:49 +0000 (Tue, 28 Jun 2011)
Log Message:
-----------
Ignore more non-map files in MapValidator script.
Modified Paths:
--------------
maps/trunk/editor/scripts/MapValidator
Modified: maps/trunk/editor/scripts/MapValidator
===================================================================
--- maps/trunk/editor/scripts/MapValidator 2011-06-28 19:32:05 UTC (rev 14730)
+++ maps/trunk/editor/scripts/MapValidator 2011-06-28 19:32:49 UTC (rev 14731)
@@ -103,17 +103,21 @@
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()));
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|