forked from qt-creator/qt-creator
GoCmdBridge: Adapt qbs build
Follows 08870178bb
.
Change-Id: Ieeca1fd8c8aeed6b9255f901bc51867d23ebaae6
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
@@ -43,8 +43,11 @@ Module {
|
||||
var arch = product.go.architectures[i];
|
||||
for (var j = 0; j < product.go.platforms.length; ++j) {
|
||||
var plat = product.go.platforms[j];
|
||||
var targetName = product.targetName + '-' + plat + '-' + arch;
|
||||
if (plat == "windows")
|
||||
targetName = targetName.concat(".exe");
|
||||
var artifact = {
|
||||
filePath: product.targetName + '-' + plat + '-' + arch,
|
||||
filePath: targetName,
|
||||
fileTags: [ "application", plat, arch ]
|
||||
};
|
||||
result.push(artifact);
|
||||
|
Reference in New Issue
Block a user