Commit e30e3e3b authored by Christian Stenger's avatar Christian Stenger
Browse files

Scripts: Adjust dependency checker to new plugins structure



Change-Id: If9fb1309335e61e9133ece8fd12c8033a447d6b4
Reviewed-by: default avatarTobias Hunger <tobias.hunger@digia.com>
parent 6a4e0f17
...@@ -231,12 +231,10 @@ class BinaryDirExaminer: ...@@ -231,12 +231,10 @@ class BinaryDirExaminer:
self.libraries.append(Library(l)) self.libraries.append(Library(l))
def _findPlugins(self, path): def _findPlugins(self, path):
vendordirs = glob.glob(os.path.join(path, "lib", "qtcreator", "plugins", "*")) pluginspecs = glob.glob(os.path.join(path, "lib", "qtcreator", "plugins", "*.pluginspec"))
for dir in vendordirs: for spec in pluginspecs:
pluginspecs = glob.glob(os.path.join(dir, "*.pluginspec")) log.debug(' Looking at plugin "%s".', spec)
for spec in pluginspecs: self.plugins.append(Plugin(spec))
log.debug(' Looking at plugin "%s".', spec)
self.plugins.append(Plugin(spec))
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment