Skip to content

Commit 07eace4

Browse files
committed
- Change order of pscustomobject to display output first so the user doesn't have
to scroll to see the rest of the result fields
1 parent 6337ff0 commit 07eace4

2 files changed

Lines changed: 7 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ All notable changes to this project will be documented in this file.
44

55
---
66

7+
## [0.7.0] Unreleased
8+
9+
- Change order of pscustomobject to display `output` first so the user doesn't have
10+
to scroll to see the rest of the result fields
11+
712
## [0.6.0] - 2026-04-01
813

914
- `.output` is now always populated in the result object -- previously it was

source/delphi-msbuild.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ $ExitRootDirError = 3
114114
$ExitProjectNotFound = 4
115115
$ExitBuildFailed = 5
116116

117-
$script:Version = '0.6.0'
117+
$script:Version = '0.7.0'
118118

119119
# Resolve the Delphi root dir from the explicit -RootDir parameter or from a
120120
# piped delphi-inspect result object (.rootDir property).
@@ -339,6 +339,7 @@ try {
339339
$counts = Get-BuildCount -Output $buildResult.Output
340340

341341
$resultObj = [pscustomobject]@{
342+
output = $buildResult.Output
342343
scriptVersion = $script:Version
343344
projectFile = $resolvedProjectFile
344345
platform = $Platform
@@ -354,7 +355,6 @@ try {
354355
success = ($buildResult.ExitCode -eq 0)
355356
warnings = $counts.Warnings
356357
errors = $counts.Errors
357-
output = $buildResult.Output
358358
}
359359

360360
if (-not [string]::IsNullOrWhiteSpace($OutputFile)) {

0 commit comments

Comments
 (0)