@@ -335,12 +335,12 @@ function Export-Pipescript {
335
335
@ (if (-not $InputPath ) {
336
336
Get-PipeScript - PipeScriptPath $pwd |
337
337
Where-Object PipeScriptType -Match ' (?>Template|BuildScript)' |
338
- Sort-Object PipeScriptType , Order , Source
338
+ Sort-Object Order , PipeScriptType , Source
339
339
} else {
340
340
foreach ($inPath in $InputPath ) {
341
341
Get-PipeScript - PipeScriptPath $inPath |
342
342
Where-Object PipeScriptType -Match ' (?>Template|BuildScript)' |
343
- Sort-Object PipeScriptType , Order , Source
343
+ Sort-Object Order , PipeScriptType , Source
344
344
}
345
345
})
346
346
@@ -479,6 +479,9 @@ function Export-Pipescript {
479
479
" $filesToBuildTotal in $ ( $BuildTime ) " | Out-Host
480
480
" ::endgroup::Building PipeScripts [$FilesToBuildCount / $filesToBuildTotal ] : $ ( $buildFile.Source ) " | Out-Host
481
481
if ($TotalInputFileLength ) {
482
+ $kbIn = $ ([Math ]::Round($TotalInputFileLength / 1 kb ))
483
+ $kbOut = $ ([Math ]::Round($TotalOutputFileLength / 1 kb ))
484
+ $pipeScriptFactor = $kbIn / $kbOut
482
485
" $ ( [Math ]::Round($TotalInputFileLength / 1 kb )) kb input"
483
486
" $ ( [Math ]::Round($TotalOutputFileLength / 1 kb )) kb output" ,
484
487
" PipeScript Factor: X$ ( [Math ]::round([double ]$TotalOutputFileLength / [double ]$TotalInputFileLength , 4 )) "
0 commit comments