mirror of
https://github.com/aphrody-labs/PowerShell.git
synced 2026-10-17 12:45:47 +00:00
Add ability to cross compile (#9374)
`-CrossGen` won`t work, but this gives basic ability to build for another platform. This also means you cannot really package for another platform.
This commit is contained in:
1 parent
73114ee36c
commit
cee1e54e75
3 files changed
+34
-18
No files matched your search
@@ -329,11 +329,13 @@ function ValidateSaveHelp
|
||||
|
||||
$compressedFile = GetFiles -fileType "*$extension" -path $path | ForEach-Object {Split-Path $_ -Leaf}
|
||||
$expectedCompressedFile = $testCases[$moduleName].CompressedFiles
|
||||
$expectedCompressedFile | Should -Be $compressedFile
|
||||
$expectedCompressedFile | Should -Not -BeNullOrEmpty -Because "Test data (expectedCompressedFile) should never be null"
|
||||
$compressedFile | Should -Be $expectedCompressedFile -Because "Save-Help for $module should download '$expectedCompressedFile'"
|
||||
|
||||
$helpInfoFile = GetFiles -fileType "*HelpInfo.xml" -path $path | ForEach-Object {Split-Path $_ -Leaf}
|
||||
$expectedHelpInfoFile = $testCases[$moduleName].HelpInfoFiles
|
||||
$expectedHelpInfoFile | Should -Be $helpInfoFile
|
||||
$expectedHelpInfoFile | Should -Not -BeNullOrEmpty -Because "Test data (expectedHelpInfoFile) should never be null"
|
||||
$helpInfoFile | Should -Be $expectedHelpInfoFile -Because "Save-Help for $module should download '$expectedHelpInfoFile'"
|
||||
}
|
||||
|
||||
Describe "Validate Update-Help from the Web for one PowerShell Core module." -Tags @('CI', 'RequireAdminOnWindows', 'RequireSudoOnUnix') {
|
||||
|
||||
Reference in new issue
Block a user