Ignore *.wesnoth and *.project files when uploading to add-ons server

This commit adds new default ign patterns to the C++ and Python
implementations of the add-ons upload interface.
This commit is contained in:
Ignacio R. Morelle 2010-10-24 20:25:03 +00:00
parent 331329b630
commit 4f212d032c
2 changed files with 6 additions and 1 deletions

View file

@ -317,7 +317,9 @@ if __name__ == "__main__":
"*.js",
"*.vbs",
"*.o",
"Thumbs.db"]
"Thumbs.db",
"*.wesnoth",
"*.project"]
stuff = {}
for field in ["title", "author", "passphrase", "description",

View file

@ -193,6 +193,9 @@ namespace {
files.push_back("*.o");
/* Remove junk created by certain file manager ;) */
files.push_back("Thumbs.db");
/* Eclipse plugin */
files.push_back("*.wesnoth");
files.push_back("*.project");
}
}