From: duplo Date: Mon, 7 Sep 2009 17:19:51 +0000 (+0000) Subject: Don't insert the 'images' and the 'object' directory in the CodeLite project files. X-Git-Tag: 2.2.0~78 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=59b722f4223ca77d5d37f1fba79301bafb621872;p=bertos.git Don't insert the 'images' and the 'object' directory in the CodeLite project files. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@2890 38d2e660-2303-0410-9eaa-f027e97ec537 --- diff --git a/wizard/plugins/codelite.py b/wizard/plugins/codelite.py index 1789c520..f3dcc3d1 100644 --- a/wizard/plugins/codelite.py +++ b/wizard/plugins/codelite.py @@ -87,7 +87,8 @@ def findSources(path): if root.find("svn") == -1: file_dict[root.replace(path, "")] = {"dirs": [], "files": []} for dir in dirs: - if dir.find("svn") == -1: + # TODO: place the directory name in a constant file. + if dir.find("svn") == -1 and dir != "images" and dir != "object": file_dict[root.replace(path, "")]["dirs"].append(dir) for file in files: if file.endswith(const.EXTENSION_FILTER):