mirror of
https://github.com/PowerShell/PowerShell.git
synced 2024-11-23 17:53:58 +08:00
Copy pwrshplugin into the Full CLR version artifacts
This commit is contained in:
parent
875402ad53
commit
3674bacfa8
14
build.psm1
14
build.psm1
@ -287,10 +287,18 @@ cmd.exe /C cd /d "$location" "&" "$($vcVarsPath)\vcvarsall.bat" "$NativeHostArch
|
||||
# Copy the executable binary from the local build directory to the expected destination to enable Start-DevPowerShell to work
|
||||
#
|
||||
# TODO: This should be updated to handle per-architecture builds gracefully.
|
||||
$srcPath = Join-Path (Join-Path (Join-Path (Get-Location) "bin") $msbuildConfiguration) "FullCLR/powershell.exe"
|
||||
|
||||
$dstPath = ($script:Options).Top
|
||||
log " Copying $srcPath to $dstPath"
|
||||
Copy-Item $srcPath $dstPath
|
||||
@(
|
||||
'powershell.exe',
|
||||
'powershell.pdb',
|
||||
'pwrshplugin.dll',
|
||||
'pwrshplugin.pdb'
|
||||
) | % {
|
||||
$srcPath = Join-Path (Join-Path (Join-Path (Get-Location) "bin") $msbuildConfiguration) "FullCLR/$_"
|
||||
log " Copying $srcPath to $dstPath"
|
||||
Copy-Item $srcPath $dstPath
|
||||
}
|
||||
} finally {
|
||||
Pop-Location
|
||||
}
|
||||
|
@ -26,6 +26,9 @@
|
||||
},
|
||||
"include" : [
|
||||
"powershell.exe",
|
||||
"powershell.pdb",
|
||||
"pwrshplugin.dll",
|
||||
"pwrshplugin.pdb",
|
||||
"../../powershell.version"
|
||||
]
|
||||
}
|
||||
@ -46,6 +49,9 @@
|
||||
},
|
||||
"include" : [
|
||||
"powershell.exe",
|
||||
"powershell.pdb",
|
||||
"pwrshplugin.dll",
|
||||
"pwrshplugin.pdb",
|
||||
"../../powershell.version"
|
||||
]
|
||||
},
|
||||
|
Loading…
Reference in New Issue
Block a user