-
-
Notifications
You must be signed in to change notification settings - Fork 52
Fix release title to match tag name and improve build output #82
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -86,4 +86,23 @@ Describe 'Quality test entrypoint suite parsing' { | |
| It 'splits comma-delimited suite values' { | ||
| $Script:QualityTestScriptContent | Should -Match '-split\s+''\\s\*,\\s\*''' | ||
| } | ||
| } | ||
|
|
||
| Describe 'Build output layout' { | ||
| BeforeAll { | ||
| $Script:BuildScriptPath = Join-Path -Path $ModulePath -ChildPath 'DevOps\Build\build.ps1' | ||
| $Script:BuiltModulePath = Join-Path -Path $ModulePath -ChildPath 'Output\HaloAPI' | ||
| } | ||
|
|
||
| It 'preserves wrapped top-level folders in packaged output' { | ||
| { | ||
| & $Script:BuildScriptPath -TaskNames @('clean', 'build') | ||
|
||
| } | Should -Not -Throw | ||
|
|
||
| $expectedDirectories = @('Public', 'Private', 'Classes', 'Data') | ||
| foreach ($expectedDirectory in $expectedDirectories) { | ||
| $expectedPath = Join-Path -Path $Script:BuiltModulePath -ChildPath $expectedDirectory | ||
| Test-Path -Path $expectedPath -PathType Container | Should -BeTrue | ||
| } | ||
|
Comment on lines
+102
to
+106
|
||
| } | ||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Using Windows-style backslashes inside
-ChildPathmakes these paths incorrect on non-Windows PowerShell (backslash is treated as a literal character, so the file/folder won’t be found). Use OS-agnostic path construction (e.g.,Join-Pathwith multiple segments,[IO.Path]::Combine, or forward slashes) so the test passes on Linux/macOS runners.