HMBXR5601-143 - Handle projects that aren't built but do provide binaries

This commit is contained in:
Dan Hawkins 2018-06-12 18:56:17 +01:00
commit 93443e340d

View file

@ -49,7 +49,10 @@ def doBuild(apps, exportfolder = "${WORKSPACE}/bin") {
}
}
else {
doExport(exportfolder, exportpathlist)
// Only export if the project has no variants - signifying that there are files to export which have been prebuilt
if (!variants) {
doExport(exportfolder, exportpathlist)
}
}
}
}