File tree Expand file tree Collapse file tree 1 file changed +17
-20
lines changed
Expand file tree Collapse file tree 1 file changed +17
-20
lines changed Original file line number Diff line number Diff line change @@ -69,27 +69,24 @@ Function Build-Project {
6969 }
7070 Exit $ (Switch (Test-Path - Path $Var.tst ) {
7171 true {
72- ((Get-ChildItem - Filter ' *.lpk' - Recurse - File –Path $Var.tst ).FullName |
73- ForEach-Object {
74- $Output = (
75- & lazbuild -- build-all -- recursive -- no- write-project $VAR.tst |
76- Where-Object {
77- $_.Contains (' Linking' )
78- } | ForEach-Object {
79- $_.Split (' ' )[2 ]
80- }
81- )
82- $exitCode = Switch ($LastExitCode ) {
83- 0 {0 }
84- Default {
85- $Output | Out-Host
86- 1
87- }
72+ $Output = (
73+ & lazbuild -- build-all -- recursive -- no- write-project $VAR.tst |
74+ Where-Object {
75+ $_.Contains (' Linking' )
76+ } | ForEach-Object {
77+ $_.Split (' ' )[2 ]
8878 }
89- Return $exitCode
90- } | Measure-Object - Sum
91- ).Sum
92- }
79+ )
80+ $Output = (& lazbuild -- build-all -- recursive -- no- write-project $Output )
81+ $exitCode = Switch ($LastExitCode ) {
82+ 0 {0 }
83+ Default {
84+ 1
85+ }
86+ }
87+ $Output | Out-Host
88+ Return $exitCode
89+ K }
9390 Default {0 }
9491 }) + (
9592 (Get-ChildItem - Filter ' *.lpi' - Recurse - File –Path $Var.app ).FullName |
You can’t perform that action at this time.
0 commit comments