summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEike Ziller <eike.ziller@qt.io>2016-12-19 15:54:22 +0100
committerEike Ziller <eike.ziller@qt.io>2016-12-19 15:17:17 +0000
commit271bc5e8189de556218e404ef123884044fe9e9d (patch)
tree46ffcf0119264407f425cbe995a74178c7f73d53
parente1d339b72c3bae3a3250607cea91dd9a303ac28c (diff)
downloadqt-creator-271bc5e8189de556218e404ef123884044fe9e9d.tar.gz
createDevPackage: Support extra plugins
Change-Id: Ie05b59dc3c17dceeee6bb74d9ae02dd7d29e4d2e Reviewed-by: Eike Ziller <eike.ziller@qt.io>
-rwxr-xr-xscripts/createDevPackage.py11
1 files changed, 3 insertions, 8 deletions
diff --git a/scripts/createDevPackage.py b/scripts/createDevPackage.py
index 09f729a712..b0b3837fb3 100755
--- a/scripts/createDevPackage.py
+++ b/scripts/createDevPackage.py
@@ -57,8 +57,9 @@ def parse_arguments():
source_include_patterns = [
# directories
- r"^scripts/.*$", # everything under scripts/
- r"^src/(.*/)?$", # all directories under src/
+ r"^scripts/.*$", # everything under scripts/
+ r"^src/(.*/)?$", # all directories under src/
+ r"^plugins/(.*/)?$", # all directories under plugins/ (if this is run on extra plugin repositories)
# files
r"^HACKING$",
r"^LICENSE.*$",
@@ -107,12 +108,6 @@ def copy_regexp(regexp, source_directory, target_directory, verbose):
common.copytree(source_directory, target_directory, symlinks=True, ignore=ignore)
def sanity_check_arguments(arguments):
- if not os.path.isfile(os.path.join(arguments.source, 'qtcreator.pri')):
- print('error: did not find qtcreator.pri at "{0}"'.format(arguments.source))
- return False
- if not os.path.isfile(os.path.join(arguments.build, 'src', 'app', 'app_version.h')):
- print('error: did not find src/app/app_version.h at "{0}"'.format(arguments.build))
- return False
if os.path.exists(arguments.target_directory) and (os.path.isfile(arguments.target_directory)
or len(os.listdir(arguments.target_directory)) > 0):
print('error: target directory "{0}" exists and is not empty'.format(arguments.target_directory))