Skip to content

Commit 4c4a112

Browse files
committed
Invoke server build in same configuration as client
1 parent 145bdf4 commit 4c4a112

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

vscode-powershell.build.ps1

+2-2
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ task RestoreEditorServices -If (Get-EditorServicesPath) {
5050
}
5151

5252
Write-Host "`n### Building PSES`n" -ForegroundColor Green
53-
Invoke-Build Build (Get-EditorServicesPath)
53+
Invoke-Build Build (Get-EditorServicesPath) -Configuration $Configuration
5454
}
5555
"Release" {
5656
# When releasing, we ensure the bits are not symlinked but copied,
@@ -64,7 +64,7 @@ task RestoreEditorServices -If (Get-EditorServicesPath) {
6464
# We only build if it hasn't been built at all.
6565
if (!(Test-Path "$(Split-Path (Get-EditorServicesPath))/module/PowerShellEditorServices/bin")) {
6666
Write-Host "`n### Building PSES`n" -ForegroundColor Green
67-
Invoke-Build Build (Get-EditorServicesPath)
67+
Invoke-Build Build (Get-EditorServicesPath) -Configuration $Configuration
6868
}
6969

7070
Write-Host "`n### Copying PSES`n" -ForegroundColor Green

0 commit comments

Comments
 (0)