Move -no-indexer parameter into a consistent position

This commit is contained in:
Dan Hawkins 2018-09-17 13:35:39 +01:00
commit 35cab07aff

View file

@ -121,17 +121,17 @@ def doBuild(apps, ds5folder, toolchainfolder, ds5shellcommand, buildcommand, sou
for (build_variant in variants) {
retry(maxprojectbuildretries) { // Eclipse occasionally raises exceptions (rather than the builds failing)
doRegisterToolchain(ds5folder, toolchainfolder)
echo "Build command: ${ds5shellcommand} \'${buildcommand} ${buildtype} \"${project}/${build_variant}\"\'"
echo "Build command: ${ds5shellcommand} \'${buildcommand} -no-indexer ${buildtype} \"${project}/${build_variant}\"\'"
if (isUnix()) {
sh """
echo Start time: `date`
${ds5shellcommand} \'${buildcommand} ${buildtype} \"${project}/${build_variant}\"\'
${ds5shellcommand} \'${buildcommand} -no-indexer ${buildtype} \"${project}/${build_variant}\"\'
echo End time: `date`
"""
}
else {
bat """
"%ds5shellcommand%" "%buildcommand%" ${buildtype} "${project}\\${build_variant}"
"%ds5shellcommand%" "%buildcommand%" -no-indexer ${buildtype} "${project}\\${build_variant}"
"""
}
doExport(exportfolder, exportpathlist, "", build_variant)