From 29046cff930bee5b012a0654db05be8892507d57 Mon Sep 17 00:00:00 2001 From: TK <61820360+TomKovac@users.noreply.github.com> Date: Wed, 8 Jan 2025 19:17:18 +0100 Subject: [PATCH] wip --- scripts/app-test.ps1 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/scripts/app-test.ps1 b/scripts/app-test.ps1 index a48a1f50..8f8caa83 100644 --- a/scripts/app-test.ps1 +++ b/scripts/app-test.ps1 @@ -540,7 +540,8 @@ function BuildAndLoadPlc { } cd $appFolder # apax install - $result = run-command -command "apax install" + $result = run-command -command "apax install" + return if ($($result.Success) -match "True") { Write-Output "Command 'apax install' finished succesfully in $appFolder" @@ -827,7 +828,7 @@ if ($appYamls) ###### Overrite security files OverwriteSecurityFiles -appYamlFile $($appYaml.FilePath) -plcName $plcName ###### Build and load PLC - #BuildAndLoadPlc -appYamlFile $($appYaml.FilePath) -appName $($appYaml.AppName) -logFilePath $logFilePath -summaryResult ([ref]$SumaryResult) + BuildAndLoadPlc -appYamlFile $($appYaml.FilePath) -appName $($appYaml.AppName) -logFilePath $logFilePath -summaryResult ([ref]$SumaryResult) ###### Build and start HMI #BuildAndStartHmi -appYamlFile $($appYaml.FilePath) -appName $($appYaml.AppName) -logFilePath $logFilePath -summaryResult ([ref]$SumaryResult) }