Skip to content

Commit 04823e6

Browse files
authored
[Ignore[ Fix CHANGELOG, improve build cleaning (#1133)
* Use copy -force * Take out banner space * Update Changelog to match vscode
1 parent 79b3660 commit 04823e6

File tree

3 files changed

+8
-9
lines changed

3 files changed

+8
-9
lines changed

CHANGELOG.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
- 👮‍ 🐛 [vscode-powershell #2288](https://github.com/PowerShell/PowerShellEditorServices/pull/1094) -
2727
Use RootUri.LocalPath for workspace path.
2828
- 🐛 👮‍ [PowerShellEditorServices #1101](https://github.com/PowerShell/PowerShellEditorServices/pull/1101) -
29-
Add PSAvoidAssignmentToAutomaticVariable to the default set of PSSA rules. (Thanks @bergmeister!)
29+
Add `PSAvoidAssignmentToAutomaticVariable` to the default set of PSSA rules. (Thanks @bergmeister!)
3030
- 👮‍ 🔗 🐛 [vscode-powershell #2290](https://github.com/PowerShell/PowerShellEditorServices/pull/1098) -
3131
Fix diagnostics not showing in untitled files and now also show CodeLens.
3232
- 🔍 🐛 [vscode-powershell #1850](https://github.com/PowerShell/PowerShellEditorServices/pull/1097) -

PowerShellEditorServices.build.ps1

+7-7
Original file line numberDiff line numberDiff line change
@@ -287,8 +287,8 @@ task LayoutModule -After Build {
287287
Copy-Item -Force -Path "$PSScriptRoot\Third Party Notices.txt" -Destination $psesOutputPath
288288

289289
# Copy UnixConsoleEcho native libraries
290-
Copy-Item -Path "$script:PsesOutput/runtimes/osx-64/native/*" -Destination $psesDepsPath
291-
Copy-Item -Path "$script:PsesOutput/runtimes/linux-64/native/*" -Destination $psesDepsPath
290+
Copy-Item -Path "$script:PsesOutput/runtimes/osx-64/native/*" -Destination $psesDepsPath -Force
291+
Copy-Item -Path "$script:PsesOutput/runtimes/linux-64/native/*" -Destination $psesDepsPath -Force
292292

293293
# Assemble PSES module
294294

@@ -307,7 +307,7 @@ task LayoutModule -After Build {
307307
if ($psesComponent.Extension)
308308
{
309309
[void]$includedDlls.Add($psesComponent.Name)
310-
Copy-Item -Path $psesComponent.FullName -Destination $psesDepsPath
310+
Copy-Item -Path $psesComponent.FullName -Destination $psesDepsPath -Force
311311
}
312312
}
313313

@@ -316,7 +316,7 @@ task LayoutModule -After Build {
316316
{
317317
if (-not $includedDlls.Contains($hostComponent.Name))
318318
{
319-
Copy-Item -Path $hostComponent.FullName -Destination $psesCoreHostPath
319+
Copy-Item -Path $hostComponent.FullName -Destination $psesCoreHostPath -Force
320320
}
321321
}
322322

@@ -327,7 +327,7 @@ task LayoutModule -After Build {
327327
{
328328
if (-not $includedDlls.Contains($hostComponent.Name))
329329
{
330-
Copy-Item -Path $hostComponent.FullName -Destination $psesDeskHostPath
330+
Copy-Item -Path $hostComponent.FullName -Destination $psesDeskHostPath -Force
331331
}
332332
}
333333
}
@@ -338,7 +338,7 @@ task LayoutModule -After Build {
338338
{
339339
if (-not $includedDlls.Contains($vscodeComponent.Name))
340340
{
341-
Copy-Item -Path $vscodeComponent.FullName -Destination $psesVSCodeBinOutputPath
341+
Copy-Item -Path $vscodeComponent.FullName -Destination $psesVSCodeBinOutputPath -Force
342342
}
343343
}
344344
}
@@ -418,7 +418,7 @@ task PackageModule {
418418
}
419419

420420
task UploadArtifacts -If ($null -ne $env:TF_BUILD) {
421-
Copy-Item -Path .\PowerShellEditorServices-$($script:FullVersion).zip -Destination $env:BUILD_ARTIFACTSTAGINGDIRECTORY
421+
Copy-Item -Path .\PowerShellEditorServices-$($script:FullVersion).zip -Destination $env:BUILD_ARTIFACTSTAGINGDIRECTORY -Force
422422
}
423423

424424
# The default task is to run the entire CI build

src/PowerShellEditorServices.Hosting/Internal/EditorServicesRunner.cs

-1
Original file line numberDiff line numberDiff line change
@@ -251,7 +251,6 @@ private void WriteStartupBanner()
251251
_\///________________\///////////_____\///////////________\/////////__
252252
253253
254-
255254
=====> PowerShell Integrated Console <=====
256255
257256
");

0 commit comments

Comments
 (0)