@@ -335,12 +335,12 @@ function Export-Pipescript {
335335 @ (if (-not $InputPath ) {
336336 Get-PipeScript - PipeScriptPath $pwd |
337337 Where-Object PipeScriptType -Match ' (?>Template|BuildScript)' |
338- Sort-Object PipeScriptType , Order , Source
338+ Sort-Object Order , PipeScriptType , Source
339339 } else {
340340 foreach ($inPath in $InputPath ) {
341341 Get-PipeScript - PipeScriptPath $inPath |
342342 Where-Object PipeScriptType -Match ' (?>Template|BuildScript)' |
343- Sort-Object PipeScriptType , Order , Source
343+ Sort-Object Order , PipeScriptType , Source
344344 }
345345 })
346346
@@ -479,6 +479,9 @@ function Export-Pipescript {
479479 " $filesToBuildTotal in $ ( $BuildTime ) " | Out-Host
480480 " ::endgroup::Building PipeScripts [$FilesToBuildCount / $filesToBuildTotal ] : $ ( $buildFile.Source ) " | Out-Host
481481 if ($TotalInputFileLength ) {
482+ $kbIn = $ ([Math ]::Round($TotalInputFileLength / 1 kb ))
483+ $kbOut = $ ([Math ]::Round($TotalOutputFileLength / 1 kb ))
484+ $pipeScriptFactor = $kbIn / $kbOut
482485 " $ ( [Math ]::Round($TotalInputFileLength / 1 kb )) kb input"
483486 " $ ( [Math ]::Round($TotalOutputFileLength / 1 kb )) kb output" ,
484487 " PipeScript Factor: X$ ( [Math ]::round([double ]$TotalOutputFileLength / [double ]$TotalInputFileLength , 4 )) "
0 commit comments