aboutsummaryrefslogtreecommitdiffstats
path: root/coin
diff options
context:
space:
mode:
authorToni Saario <toni.saario@qt.io>2021-06-15 13:09:33 +0300
committerQt Cherry-pick Bot <cherrypick_bot@qt-project.org>2021-06-16 22:22:31 +0000
commit91030b897cb752589988250b041494a74bed3e86 (patch)
treec6e907e181cd36433b2a161a034aa03b9f31291c /coin
parent6276e48226edff1854dc512af901aaa58f535889 (diff)
Archive global and config from qtbase in doc build
Copy the global and config folder from under qtbase to directory from which the documentation.tar.gz is created. This is similar to how these are added in qmake builds. Task-number: QTBUG-94443 Change-Id: I1dfd6dd05057bb1bfdaeec9cf5d03fbfe474a5d1 Reviewed-by: Joerg Bornemann <joerg.bornemann@qt.io> (cherry picked from commit 7ed6d04410d5f6d1db2a92332baadf0e42b81f40) Reviewed-by: Qt Cherry-pick Bot <cherrypick_bot@qt-project.org>
Diffstat (limited to 'coin')
-rw-r--r--coin/module_config.yaml12
1 files changed, 10 insertions, 2 deletions
diff --git a/coin/module_config.yaml b/coin/module_config.yaml
index d73063c4..98c46462 100644
--- a/coin/module_config.yaml
+++ b/coin/module_config.yaml
@@ -35,8 +35,16 @@ instructions:
maxTimeBetweenOutput: 1200
userMessageOnFailure: >
Failed to generate docs.
- - type: MakeDirectory
- directory: "{{.BuildDir}}/qtbase/doc/global"
+ - type: ExecuteCommand
+ command: "cp -r {{.BuildDir}}/qtbase/doc/config {{.BuildDir}}/doc"
+ maxTimeInSeconds: 12000
+ maxTimeBetweenOutput: 1200
+ userMessageOnFailure: "Failed to copy qtbase/doc/config to documentation directory."
+ - type: ExecuteCommand
+ command: "cp -r {{.BuildDir}}/qtbase/doc/global {{.BuildDir}}/doc"
+ maxTimeInSeconds: 12000
+ maxTimeBetweenOutput: 1200
+ userMessageOnFailure: "Failed to copy qtbase/doc/global to documentation directory."
- type: UploadArtifact
archiveDirectory: '{{.BuildDir}}/doc'
transferType: UploadModuleDocumentation