X-Git-Url: https://codewiz.org/gitweb?a=blobdiff_plain;f=wizard%2Fplugins%2Fcodelite.py;h=f6555a8be406c8e823c2c6c514d4dfa7232287a0;hb=d2e54a57195a86b82ff9c5a03aa6d7bc2576a801;hp=398a90d5ad9330bcd0fad5c2f3ee690ccb65da92;hpb=8fb6ea934eedc5b0b976cb80752f2c0237bef864;p=bertos.git diff --git a/wizard/plugins/codelite.py b/wizard/plugins/codelite.py index 398a90d5..f6555a8b 100644 --- a/wizard/plugins/codelite.py +++ b/wizard/plugins/codelite.py @@ -88,10 +88,10 @@ def findSources(path): file_dict[root.replace(path, "")] = {"dirs": [], "files": []} for dir in dirs: # TODO: place the directory name in a constant file. - if dir.find("svn") == -1 and dir != "images" and dir != "obj": + if dir.find("svn") == -1 and dir != "images" and dir != "obj" and dir != "doc": file_dict[root.replace(path, "")]["dirs"].append(dir) for file in files: - if file.endswith(const.EXTENSION_FILTER): + if file.endswith(const.EXTENSION_FILTER) and file != "buildrev.h": file_dict[root.replace(path, "")]["files"].append(file) return file_dict