projects
/
bertos.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Little bugfix.
[bertos.git]
/
wizard
/
plugins
/
codelite.py
diff --git
a/wizard/plugins/codelite.py
b/wizard/plugins/codelite.py
index 1789c52048eb5eccaaa04efa567dc1a2fcedf988..f6555a8be406c8e823c2c6c514d4dfa7232287a0 100644
(file)
--- a/
wizard/plugins/codelite.py
+++ b/
wizard/plugins/codelite.py
@@
-87,10
+87,11
@@
def findSources(path):
if root.find("svn") == -1:
file_dict[root.replace(path, "")] = {"dirs": [], "files": []}
for dir in dirs:
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 != "obj" and dir != "doc":
file_dict[root.replace(path, "")]["dirs"].append(dir)
for file in files:
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
file_dict[root.replace(path, "")]["files"].append(file)
return file_dict