aboutsummaryrefslogtreecommitdiffstats
path: root/scripts
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2019-04-29 12:33:14 +0200
committerEike Ziller <eike.ziller@qt.io>2019-04-29 12:18:16 +0000
commit70df1f1c5d9de80aa924b0ac69a0ae1e1b6308c9 (patch)
treef04c21e9649c19b402984aaf4e6491ddf002eab1 /scripts
parent8be20fcc371ee3c9fd9bca5fe1b1670c9ef5de18 (diff)
Add perfparser to source package
Change-Id: If984f7fbea15d9d6c9efb4b80a219afeae6e1baa Fixes: QTCREATORBUG-22348 Reviewed-by: Ulf Hermann <ulf.hermann@qt.io>
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/createSourcePackages.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/createSourcePackages.py b/scripts/createSourcePackages.py
index 1385de943a..1e1bdead92 100755
--- a/scripts/createSourcePackages.py
+++ b/scripts/createSourcePackages.py
@@ -99,9 +99,9 @@ def main():
args = parse_arguments()
base_repo_name = args.name if args.name else "qtcreator"
if not args.name and not args.modules: # default Qt Creator repository
- qbs_path = os.path.join('src', 'shared', 'qbs')
- if os.path.exists(os.path.join(args.repo, qbs_path)):
- args.modules = [qbs_path]
+ submodules = [os.path.join('src', 'shared', 'qbs'),
+ os.path.join('src', 'tools', 'perfparser')]
+ args.modules = [path for path in submodules if os.path.exists(os.path.join(args.repo, path, '.git'))]
repos = [(base_repo_name, args.repo, '')]
for module in args.modules:
repos += [(module, os.path.join(args.repo, module), module + os.sep)]